build.gradle 892 B

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