build.gradle 802 B

1234567891011121314151617181920212223242526272829303132333435
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdk 33
  6. namespace 'me.ag2s.epublib'
  7. defaultConfig {
  8. minSdk 21
  9. targetSdk 33
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. consumerProguardFiles "consumer-rules.pro"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. compileOptions {
  20. sourceCompatibility JavaVersion.VERSION_1_8
  21. targetCompatibility JavaVersion.VERSION_1_8
  22. }
  23. lint {
  24. checkDependencies true
  25. }
  26. }
  27. dependencies {
  28. compileOnly "com.android.tools.build:gradle:$agp_version"
  29. implementation "androidx.annotation:annotation:1.5.0"
  30. }