build.gradle 687 B

1234567891011121314151617181920212223242526272829303132
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. apply from: 'publish.gradle'
  5. android {
  6. compileSdk 32
  7. defaultConfig {
  8. minSdk 21
  9. targetSdk 32
  10. consumerProguardFiles "consumer-rules.pro"
  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. }
  23. dependencies {
  24. compileOnly project(":common")
  25. compileOnly 'com.google.code.gson:gson:+'
  26. compileOnly 'androidx.annotation:annotation:+'
  27. }