build.gradle 771 B

123456789101112131415161718192021222324252627282930313233
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion 31
  6. buildToolsVersion '31.0.0'
  7. namespace 'me.ag2s.epublib'
  8. defaultConfig {
  9. minSdkVersion 21
  10. targetSdkVersion 31
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. consumerProguardFiles "consumer-rules.pro"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. android {
  20. }
  21. }
  22. compileOptions {
  23. sourceCompatibility JavaVersion.VERSION_1_8
  24. targetCompatibility JavaVersion.VERSION_1_8
  25. }
  26. }
  27. dependencies {
  28. implementation "androidx.annotation:annotation:1.3.0"
  29. }