build.gradle.kts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. plugins {
  2. id("com.android.library")
  3. id("org.jetbrains.kotlin.android")
  4. }
  5. android {
  6. compileSdk = 32
  7. defaultConfig {
  8. minSdk = 30
  9. targetSdk = 32
  10. testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. isMinifyEnabled = false
  15. proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
  16. }
  17. }
  18. compileOptions {
  19. sourceCompatibility = JavaVersion.VERSION_1_8
  20. targetCompatibility = JavaVersion.VERSION_1_8
  21. }
  22. kotlinOptions {
  23. jvmTarget = "1.8"
  24. }
  25. namespace = "im.angry.openeuicc.hidden_apis_shim"
  26. }
  27. dependencies {
  28. compileOnly(project(":libs:hidden-apis-stub"))
  29. implementation("androidx.core:core-ktx:1.7.0")
  30. implementation("androidx.appcompat:appcompat:1.4.2")
  31. implementation("com.google.android.material:material:1.6.1")
  32. testImplementation("junit:junit:4.13.2")
  33. androidTestImplementation("androidx.test.ext:junit:1.1.3")
  34. androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0")
  35. }