build.gradle 862 B

123456789101112131415161718192021222324252627282930313233343536
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdk = compile_sdk_version
  6. buildToolsVersion = build_tool_version
  7. namespace 'me.ag2s.epublib'
  8. defaultConfig {
  9. minSdk 21
  10. targetSdk 33
  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. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_11
  22. targetCompatibility JavaVersion.VERSION_11
  23. }
  24. lint {
  25. checkDependencies true
  26. }
  27. }
  28. dependencies {
  29. compileOnly "com.android.tools.build:gradle:$agp_version"
  30. implementation "androidx.annotation:annotation:1.5.0"
  31. }