build.gradle 826 B

12345678910111213141516171819202122232425262728293031323334
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. apply from: 'publish.gradle'
  5. android {
  6. compileSdkVersion 32
  7. defaultConfig {
  8. minSdkVersion 21
  9. targetSdkVersion 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 "extra.common:core:1.0.0"
  25. compileOnly 'androidx.annotation:annotation:+'
  26. compileOnly 'androidx.recyclerview:recyclerview:+'
  27. compileOnly 'com.google.code.gson:gson:2.8.7'
  28. compileOnly 'com.github.bumptech.glide:glide:+'
  29. }