Files
Amber/shared/build.gradle.kts
T
Claude 438a782cb1 Scaffold :shared KMP module and :desktop Compose app for bunker signing
Adds a Kotlin Multiplatform :shared module (androidTarget + jvm("desktop"))
depending on the multiplatform com.vitorpamplona.quartz:quartz coordinate
(which resolves quartz-android for Android and quartz-jvm for desktop via
Gradle variant-aware resolution), plus a new :desktop module scaffolded
with Compose Multiplatform Desktop and packaging config for
deb/msi/dmg installers. The :app module is untouched and still builds.
2026-07-01 17:45:08 +00:00

38 lines
906 B
Kotlin

import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
alias(libs.plugins.kotlinMultiplatform)
alias(libs.plugins.androidKotlinMultiplatformLibrary)
alias(libs.plugins.gradle.ktlint) version libs.versions.ktlint.get()
}
kotlin {
android {
namespace = "com.greenart7c3.nostrsigner.shared"
compileSdk = 37
minSdk = 26
compilerOptions {
jvmTarget.set(JvmTarget.JVM_21)
}
withHostTest {}
}
jvm("desktop") {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_21)
}
}
sourceSets {
commonMain.dependencies {
implementation(libs.quartz.multiplatform)
implementation(libs.kotlinx.coroutines.core)
}
commonTest.dependencies {
implementation(kotlin("test"))
implementation(libs.kotlinx.coroutines.test)
}
}
}