26 lines
496 B
Kotlin
26 lines
496 B
Kotlin
plugins {
|
|
kotlin("jvm") version "1.9.22"
|
|
id("org.jetbrains.compose") version "1.6.0"
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(17)
|
|
}
|
|
|
|
dependencies {
|
|
implementation(compose.desktop.currentOs)
|
|
implementation(compose.material3)
|
|
}
|
|
|
|
compose.desktop {
|
|
application {
|
|
mainClass = "com.example.kotlindemo.MainKt"
|
|
|
|
nativeDistributions {
|
|
targetFormats(
|
|
org.jetbrains.compose.desktop.application.dsl.TargetFormat.Msi
|
|
)
|
|
}
|
|
}
|
|
}
|