Peter Cai
50c7b4a3be
...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.
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
import im.angry.openeuicc.build.*
|
|
|
|
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
signingKeystoreProperties {
|
|
keyAliasField = "unprivKeyAlias"
|
|
keyPasswordField = "unprivKeyPassword"
|
|
}
|
|
|
|
apply {
|
|
plugin<MyVersioningPlugin>()
|
|
plugin<MySigningPlugin>()
|
|
}
|
|
|
|
android {
|
|
namespace = "im.angry.easyeuicc"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
applicationId = "im.angry.easyeuicc"
|
|
minSdk = 30
|
|
targetSdk = 34
|
|
}
|
|
|
|
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(project(":app-common"))
|
|
implementation("androidx.core:core-ktx:1.9.0")
|
|
implementation("androidx.appcompat:appcompat:1.6.1")
|
|
implementation("com.google.android.material:material:1.11.0")
|
|
} |