58 lines
1.3 KiB
Kotlin
58 lines
1.3 KiB
Kotlin
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
|
|
plugins {
|
|
alias(libs.plugins.androidApplication)
|
|
alias(libs.plugins.composeMultiplatform)
|
|
alias(libs.plugins.composeCompiler)
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
jvmTarget = JvmTarget.JVM_11
|
|
}
|
|
}
|
|
dependencies {
|
|
implementation(projects.shared)
|
|
|
|
// Compose
|
|
implementation(libs.androidx.activity.compose)
|
|
implementation(libs.compose.uiToolingPreview)
|
|
debugImplementation(libs.compose.uiTooling)
|
|
}
|
|
|
|
android {
|
|
namespace = "fr.ajaury.gwenedeg"
|
|
compileSdk =
|
|
libs.versions.androidCompileSdk
|
|
.get()
|
|
.toInt()
|
|
|
|
defaultConfig {
|
|
applicationId = "fr.ajaury.gwenedeg"
|
|
minSdk =
|
|
libs.versions.androidMinSdk
|
|
.get()
|
|
.toInt()
|
|
targetSdk =
|
|
libs.versions.androidTargetSdk
|
|
.get()
|
|
.toInt()
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
}
|
|
packaging {
|
|
resources {
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
}
|
|
}
|
|
buildTypes {
|
|
getByName("release") {
|
|
isMinifyEnabled = false
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
}
|