forked from PeterCxy/OpenEUICC
...and rework the original "helper.gradle" into proper plugins. This also allows the signing configuration code to be shared, and now keystore.properties is no longer mandatory.
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
import im.angry.openeuicc.build.*
|
|
|
|
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
apply {
|
|
plugin<MyVersioningPlugin>()
|
|
plugin<MySigningPlugin>()
|
|
}
|
|
|
|
android {
|
|
namespace = "im.angry.openeuicc"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
applicationId = "im.angry.openeuicc"
|
|
minSdk = 30
|
|
targetSdk = 34
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
|
implementation("androidx.recyclerview:recyclerview:1.3.2")
|
|
compileOnly(project(":libs:hidden-apis-stub"))
|
|
implementation(project(":libs:hidden-apis-shim"))
|
|
implementation(project(":libs:lpac-jni"))
|
|
implementation(project(":app-common"))
|
|
implementation("androidx.appcompat:appcompat:1.6.1")
|
|
testImplementation("junit:junit:4.13.2")
|
|
androidTestImplementation("androidx.test.ext:junit:1.1.3")
|
|
androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0")
|
|
} |