build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. apply plugin: 'com.android.library'
  2. android {
  3. namespace 'com.baidu.idl.main.facesdk.registerlibrary'
  4. compileSdkVersion 34
  5. defaultConfig {
  6. minSdkVersion 22
  7. targetSdkVersion 34
  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. packagingOptions {
  20. pickFirst 'lib/x86/libc++_shared.so'
  21. pickFirst 'lib/x86_64/libc++_shared.so'
  22. pickFirst 'lib/armeabi-v7a/libc++_shared.so'
  23. pickFirst 'lib/arm64-v8a/libc++_shared.so'
  24. }
  25. }
  26. dependencies {
  27. implementation fileTree(dir: 'libs', include: ['*.jar'])
  28. implementation libs.appcompat
  29. implementation libs.material
  30. testImplementation libs.junit
  31. androidTestImplementation libs.ext.junit
  32. androidTestImplementation libs.espresso.core
  33. //noinspection GradleCompatible
  34. // implementation 'com.android.support:recyclerview-v7:28.0.0'
  35. implementation 'com.google.code.gson:gson:2.6.2'
  36. implementation project(path: ':datalibrary')
  37. implementation project(path: ':facelibrary')
  38. }