build.gradle 916 B

1234567891011121314151617181920212223242526272829303132333435
  1. apply plugin: 'com.android.library'
  2. //apply plugin: 'com.github.dcendents.android-maven'
  3. android {
  4. compileSdkVersion rootProject.ext.android["compileSdkVersion"]
  5. buildToolsVersion rootProject.ext.android["buildToolsVersion"]
  6. defaultConfig {
  7. minSdkVersion 16
  8. targetSdkVersion rootProject.ext.android["targetSdkVersion"]
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. consumerProguardFiles 'consumer-rules.pro'
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. sourceSets.main {
  21. jni.srcDirs = []//disable automatic ndk-build call
  22. jniLibs.srcDirs = ['libs']
  23. }
  24. }
  25. dependencies {
  26. implementation fileTree(dir: 'libs', include: ['*.jar'])
  27. }