build.gradle.kts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import im.angry.openeuicc.build.*
  2. plugins {
  3. id("com.android.application")
  4. id("org.jetbrains.kotlin.android")
  5. }
  6. apply {
  7. plugin<MyVersioningPlugin>()
  8. plugin<MySigningPlugin>()
  9. }
  10. android {
  11. namespace = "im.angry.openeuicc"
  12. compileSdk = 35
  13. defaultConfig {
  14. applicationId = "im.angry.openeuicc"
  15. minSdk = 30
  16. targetSdk = 35
  17. testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
  18. }
  19. buildTypes {
  20. release {
  21. isMinifyEnabled = false
  22. proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
  23. }
  24. }
  25. compileOptions {
  26. sourceCompatibility = JavaVersion.VERSION_1_8
  27. targetCompatibility = JavaVersion.VERSION_1_8
  28. }
  29. kotlinOptions {
  30. jvmTarget = "1.8"
  31. }
  32. }
  33. dependencies {
  34. compileOnly(project(":libs:hidden-apis-stub"))
  35. implementation(project(":libs:hidden-apis-shim"))
  36. implementation(project(":libs:lpac-jni"))
  37. implementation(project(":app-common"))
  38. testImplementation("junit:junit:4.13.2")
  39. androidTestImplementation("androidx.test.ext:junit:1.1.5")
  40. androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
  41. }