67 lines
No EOL
1.7 KiB
Kotlin
67 lines
No EOL
1.7 KiB
Kotlin
//@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
|
|
plugins {
|
|
alias(libs.plugins.androidApplication)
|
|
alias(libs.plugins.kotlinAndroid)
|
|
}
|
|
|
|
android {
|
|
namespace = "io.ixlo.changes_wear"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
applicationId = "io.ixlo.changes_wear"
|
|
minSdk = 31
|
|
targetSdk = 34
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
vectorDrawables {
|
|
useSupportLibrary = true
|
|
}
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.5.15"
|
|
}
|
|
packaging {
|
|
resources {
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation(libs.play.services.wearable)
|
|
implementation(platform(libs.compose.bom))
|
|
implementation(libs.ui)
|
|
implementation(libs.ui.tooling.preview)
|
|
implementation(libs.compose.material)
|
|
implementation(libs.compose.foundation)
|
|
implementation(libs.activity.compose)
|
|
implementation(libs.core.splashscreen)
|
|
implementation(libs.wear.tooling.preview)
|
|
androidTestImplementation(platform(libs.compose.bom))
|
|
androidTestImplementation(libs.ui.test.junit4)
|
|
debugImplementation(libs.ui.tooling)
|
|
debugImplementation(libs.ui.test.manifest)
|
|
} |