build.gradle 820 B

12345678910111213141516171819202122232425262728293031323334353637
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion 32
  6. buildToolsVersion '32.0.0'
  7. namespace 'me.ag2s.epublib'
  8. defaultConfig {
  9. minSdkVersion 21
  10. targetSdkVersion 32
  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. lint {
  27. checkDependencies true
  28. }
  29. }
  30. dependencies {
  31. implementation "androidx.annotation:annotation:1.4.0"
  32. }