build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 30
  4. buildToolsVersion "30.0.0"
  5. defaultConfig {
  6. minSdkVersion 22
  7. targetSdkVersion 30
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. consumerProguardFiles 'consumer-rules.pro'
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. sourceSets {
  20. main {
  21. jniLibs.srcDirs = ['libs']
  22. }
  23. }
  24. }
  25. dependencies {
  26. //noinspection GradleCompatible
  27. implementation 'com.android.support:appcompat-v7:28.0.0'
  28. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  29. testImplementation 'junit:junit:4.12'
  30. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  31. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  32. implementation project(':facelibrary')
  33. implementation project(path: ':datalibrary')
  34. implementation project(path: ':settinglibrary')
  35. implementation project(':lib_baidu_face')
  36. }