build.gradle 1.1 KB

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