build.gradle 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. plugins {
  2. id 'com.android.application'
  3. id 'io.nexilis.ob-plugin' version '1.0.81'
  4. }
  5. android {
  6. namespace 'com.example.nexilissamplecodeburger'
  7. compileSdkVersion 35
  8. defaultConfig {
  9. applicationId "com.example.nexilissamplecodeburger"
  10. minSdk 24
  11. targetSdkVersion 35
  12. versionCode 1
  13. versionName "1.0"
  14. resConfigs "in", "en"
  15. multiDexEnabled true
  16. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  17. }
  18. buildTypes {
  19. release {
  20. minifyEnabled true
  21. shrinkResources true
  22. debuggable false
  23. jniDebuggable false
  24. renderscriptDebuggable false
  25. zipAlignEnabled true
  26. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  27. // Change signingConfig from debug to release for builds that are ready for publication.
  28. signingConfig signingConfigs.debug
  29. }
  30. }
  31. splits {
  32. density {
  33. enable true
  34. reset()
  35. include 'hdpi', 'mdpi', 'xhdpi', 'xxhdpi', 'xxxhdpi'
  36. }
  37. abi {
  38. enable true
  39. reset()
  40. include 'armeabi-v7a', 'arm64-v8a'
  41. universalApk false
  42. }
  43. }
  44. compileOptions {
  45. sourceCompatibility JavaVersion.VERSION_1_8
  46. targetCompatibility JavaVersion.VERSION_1_8
  47. }
  48. lintOptions {
  49. abortOnError false
  50. }
  51. packagingOptions {
  52. exclude 'META-INF/DEPENDENCIES'
  53. exclude 'META-INF/LICENSE'
  54. exclude 'META-INF/LICENSE.txt'
  55. exclude 'META-INF/license.txt'
  56. exclude 'META-INF/NOTICE'
  57. exclude 'META-INF/NOTICE.txt'
  58. exclude 'META-INF/notice.txt'
  59. exclude 'META-INF/ASL2.0'
  60. doNotStrip "/armeabi-v7a/.so"
  61. doNotStrip "/arm64-v8a/.so"
  62. jniLibs {
  63. useLegacyPackaging = true
  64. }
  65. }
  66. }
  67. dependencies {
  68. implementation 'androidx.appcompat:appcompat:1.7.0'
  69. implementation 'com.google.android.material:material:1.12.0'
  70. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  71. testImplementation 'junit:junit:4.13.2'
  72. androidTestImplementation 'androidx.test.ext:junit:1.2.1'
  73. androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
  74. // *** Add Nexilis UI dependencies ***
  75. implementation('***REPLACE***WITH***NEXILIS***UI***VERSION***LIBRARY***') {
  76. transitive = true
  77. exclude group: 'org.apache.httpcomponents'
  78. }
  79. // *** Add Nexilis UC dependencies ***
  80. implementation('***REPLACE***WITH***NEXILIS***UC***VERSION***LIBRARY***') {
  81. transitive = true
  82. exclude group: 'org.apache.httpcomponents'
  83. }
  84. // *** Add Nexilis SS dependencies ***
  85. implementation('***REPLACE***WITH***NEXILIS***SS***VERSION***LIBRARY***') {
  86. transitive = true
  87. exclude group: 'org.apache.httpcomponents'
  88. }
  89. }