Files
KeyPass/shared/build.gradle.kts
Yogesh Choudhary Paliyal 3b9c1cde48 Bump kotlin version to 2.0.0 (#855)
* Bump kotlin version to 2.0.0

* fix

* feat: fixes

* feat: cleanup

* feat: fixes
2024-06-02 14:24:21 +05:30

57 lines
1.5 KiB
Kotlin

plugins {
kotlin("multiplatform")
id("com.android.library")
id("org.jetbrains.kotlin.plugin.compose")
}
kotlin {
androidTarget()
jvmToolchain(17)
jvm("desktop") {
compilerOptions {
apiVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0)
}
}
sourceSets {
val commonMain by getting {
dependencies {
api("androidx.compose.runtime:runtime:1.6.7")
api("androidx.compose.foundation:foundation:1.6.7")
api("androidx.compose.material:material:1.6.7")
implementation("org.reduxkotlin:redux-kotlin-compose:0.6.0")
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
val androidMain by getting {
dependencies {
api("androidx.appcompat:appcompat:1.7.0")
api("androidx.core:core-ktx:1.13.1")
}
}
val androidUnitTest by getting {
dependencies {
implementation("junit:junit:4.13.2")
}
}
val desktopMain by getting {
dependencies {
}
}
val desktopTest by getting
}
}
android {
compileSdk = 34
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
defaultConfig {
minSdk = 21
}
namespace = "com.yogeshpaliyal.keypass.common"
}