build.gradle.kts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. plugins {
  2. id("com.android.library")
  3. id("org.jetbrains.kotlin.android")
  4. }
  5. android {
  6. compileSdk = 31
  7. defaultConfig {
  8. minSdk = 28
  9. targetSdk = 31
  10. testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. isMinifyEnabled = false
  15. proguardFiles(
  16. getDefaultProguardFile("proguard-android-optimize.txt"),
  17. "proguard-rules.pro"
  18. )
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility = JavaVersion.VERSION_1_8
  23. targetCompatibility = JavaVersion.VERSION_1_8
  24. }
  25. kotlinOptions {
  26. jvmTarget = "1.8"
  27. }
  28. }
  29. dependencies {
  30. implementation(project(":adm-android-base"))
  31. implementation("androidx.core:core-ktx:1.7.0")
  32. implementation("androidx.appcompat:appcompat:1.4.0")
  33. implementation("com.google.android.material:material:1.4.0")
  34. implementation("org.greenrobot:eventbus:3.3.1")
  35. //implementation("org.jetbrains.anko:anko-commons:0.10.8")
  36. implementation("cn.sagacloud:saga-kotlin-base:1.4.105")
  37. testImplementation("junit:junit:4.13.2")
  38. androidTestImplementation("androidx.test.ext:junit:1.1.3")
  39. androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0")
  40. }