92 lines
2.8 KiB
Plaintext
92 lines
2.8 KiB
Plaintext
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
signingConfigs {
|
|
create("release") {
|
|
storeFile = file("/home/ar2000/cert/androidKeyStore.jks")
|
|
keyAlias = "key0"
|
|
}
|
|
}
|
|
namespace = "fr.ar2000.ndefemulator"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
applicationId = "fr.ar2000.ndefemulator"
|
|
minSdk = 30
|
|
targetSdk = 34
|
|
versionCode = 3
|
|
versionName = "2.1"
|
|
vectorDrawables {
|
|
useSupportLibrary = true
|
|
}
|
|
signingConfig = signingConfigs.getByName("release")
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
isShrinkResources = true
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
isDebuggable = false
|
|
isJniDebuggable = false
|
|
isRenderscriptDebuggable = false
|
|
signingConfig = signingConfigs.getByName("release")
|
|
}
|
|
getByName("debug") {
|
|
versionNameSuffix = ".dev"
|
|
signingConfig = signingConfigs.getByName("debug")
|
|
}
|
|
create("private") {
|
|
isDebuggable = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
signingConfig = signingConfigs.getByName("debug")
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.5.1"
|
|
}
|
|
packaging {
|
|
resources {
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation("com.google.android.gms:play-services-wearable:19.0.0")
|
|
implementation(platform("androidx.compose:compose-bom:2024.12.01"))
|
|
implementation("androidx.compose.ui:ui")
|
|
implementation("androidx.compose.ui:ui-tooling-preview")
|
|
implementation("androidx.wear.compose:compose-material:1.4.0")
|
|
implementation("androidx.wear.compose:compose-foundation:1.4.0")
|
|
implementation("androidx.activity:activity-compose:1.9.3")
|
|
implementation("androidx.core:core-splashscreen:1.0.1")
|
|
implementation("androidx.appcompat:appcompat:1.7.0")
|
|
implementation("androidx.preference:preference-ktx:1.2.1")
|
|
implementation("com.google.android.material:material:1.12.0")
|
|
androidTestImplementation(platform("androidx.compose:compose-bom:2024.12.01"))
|
|
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
|
|
debugImplementation("androidx.compose.ui:ui-tooling")
|
|
debugImplementation("androidx.compose.ui:ui-test-manifest")
|
|
} |