build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. apply plugin: 'com.android.library'
  2. android {
  3. namespace 'com.example.settinglibrary'
  4. compileSdk 34
  5. defaultConfig {
  6. minSdk 22
  7. targetSdk 34
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. compileOptions {
  19. sourceCompatibility JavaVersion.VERSION_1_8
  20. targetCompatibility JavaVersion.VERSION_1_8
  21. }
  22. packagingOptions {
  23. pickFirst 'lib/x86/libc++_shared.so'
  24. pickFirst 'lib/x86_64/libc++_shared.so'
  25. pickFirst 'lib/armeabi-v7a/libc++_shared.so'
  26. pickFirst 'lib/arm64-v8a/libc++_shared.so'
  27. }
  28. }
  29. dependencies {
  30. implementation fileTree(dir: 'libs', include: ['*.jar'])
  31. //noinspection GradleCompatible
  32. implementation libs.appcompat
  33. implementation libs.material
  34. testImplementation libs.junit
  35. androidTestImplementation libs.ext.junit
  36. androidTestImplementation libs.espresso.core
  37. //noinspection GradleCompatible
  38. implementation project(path: ':datalibrary')
  39. implementation project(path: ':facelibrary')
  40. }