mirror of
https://github.com/smyalygames/checklist-tester.git
synced 2025-05-18 14:34:12 +02:00
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
|
|
|
plugins {
|
|
alias(libs.plugins.kotlinMultiplatform)
|
|
|
|
alias(libs.plugins.jetbrainsCompose)
|
|
}
|
|
|
|
kotlin {
|
|
jvm("desktop")
|
|
|
|
sourceSets {
|
|
val desktopMain by getting
|
|
|
|
commonMain.dependencies {
|
|
implementation(compose.runtime)
|
|
implementation(compose.foundation)
|
|
implementation(compose.material)
|
|
implementation(compose.ui)
|
|
implementation(compose.components.resources)
|
|
implementation(compose.components.uiToolingPreview)
|
|
implementation(projects.shared)
|
|
}
|
|
desktopMain.dependencies {
|
|
implementation(compose.desktop.currentOs)
|
|
implementation("org.jetbrains.compose.material3:material3-desktop:1.6.1")
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
compose.desktop {
|
|
application {
|
|
mainClass = "MainKt"
|
|
|
|
nativeDistributions {
|
|
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
|
packageName = "io.anthonyberg.connector"
|
|
packageVersion = "1.0.0"
|
|
}
|
|
}
|
|
}
|