mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 15:17:05 +05:30
35 lines
745 B
Kotlin
35 lines
745 B
Kotlin
import org.jetbrains.compose.compose
|
|
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
|
|
|
plugins {
|
|
kotlin("multiplatform")
|
|
id("org.jetbrains.compose") version "1.0.0-alpha3"
|
|
}
|
|
|
|
group = "dev.msfjarvis.claw"
|
|
|
|
version = "1.0"
|
|
|
|
kotlin {
|
|
jvm { compilations.all { kotlinOptions.jvmTarget = "11" } }
|
|
sourceSets {
|
|
val jvmMain by getting {
|
|
dependencies {
|
|
implementation(projects.common)
|
|
implementation(compose.desktop.currentOs)
|
|
}
|
|
}
|
|
val jvmTest by getting
|
|
}
|
|
}
|
|
|
|
compose.desktop {
|
|
application {
|
|
mainClass = "MainKt"
|
|
nativeDistributions {
|
|
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
|
packageName = "jvm"
|
|
packageVersion = "1.0.0"
|
|
}
|
|
}
|
|
}
|