69 lines
1.9 KiB
Text
69 lines
1.9 KiB
Text
|
plugins {
|
||
|
alias(libs.plugins.androidApplication)
|
||
|
alias(libs.plugins.kotlinAndroid)
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
namespace = "net.agorise.kee"
|
||
|
compileSdk = libs.versions.android.compileSdk.get().toInt()
|
||
|
|
||
|
defaultConfig {
|
||
|
applicationId = "net.agorise.kee"
|
||
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
||
|
targetSdk = libs.versions.android.targetSdk.get().toInt()
|
||
|
versionCode = 1
|
||
|
versionName = "1.0"
|
||
|
|
||
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||
|
vectorDrawables {
|
||
|
useSupportLibrary = true
|
||
|
}
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
isMinifyEnabled = false
|
||
|
proguardFiles(
|
||
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||
|
"proguard-rules.pro"
|
||
|
)
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility = JavaVersion.VERSION_11
|
||
|
targetCompatibility = JavaVersion.VERSION_11
|
||
|
}
|
||
|
kotlinOptions {
|
||
|
jvmTarget = "11"
|
||
|
}
|
||
|
buildFeatures {
|
||
|
compose = true
|
||
|
}
|
||
|
composeOptions {
|
||
|
kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
|
||
|
}
|
||
|
packaging {
|
||
|
resources {
|
||
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation(projects.library.preferences)
|
||
|
implementation(projects.library.stargate)
|
||
|
|
||
|
implementation(platform(libs.compose.bom))
|
||
|
implementation(libs.androidx.activity.compose)
|
||
|
implementation(libs.androidx.core.ktx)
|
||
|
implementation(libs.compose.ui)
|
||
|
implementation(libs.compose.ui.graphics)
|
||
|
implementation(libs.compose.ui.tooling.preview)
|
||
|
implementation(libs.compose.material3)
|
||
|
implementation(libs.voyager.navigator)
|
||
|
implementation(libs.voyager.screenmodel)
|
||
|
|
||
|
debugImplementation(libs.compose.ui.tooling)
|
||
|
debugImplementation(libs.compose.ui.test.manifest)
|
||
|
}
|