Files
KeyPass/shared/build.gradle.kts
renovate[bot] efc8158207 fix(deps): update dependency androidx.core:core-ktx to v1.15.0 (#1050)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-26 05:35:25 +00:00

56 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.7.6")
api("androidx.compose.foundation:foundation:1.7.6")
api("androidx.compose.material:material:1.7.6")
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.15.0")
}
}
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"
}