Initial commit: Kotlin Compose Desktop Hello World

This commit is contained in:
wfz
2026-03-17 17:08:37 +08:00
commit bdae6e213e
9 changed files with 327 additions and 0 deletions

19
build.gradle.kts Normal file
View File

@@ -0,0 +1,19 @@
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"
}
}