You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
803 B
40 lines
803 B
import org.jetbrains.compose.desktop.application.dsl.TargetFormat |
|
|
|
plugins { |
|
id "org.jetbrains.kotlin.multiplatform" |
|
id "org.jetbrains.compose" |
|
} |
|
|
|
repositories { |
|
google() |
|
mavenCentral() |
|
jcenter() |
|
maven { |
|
url "https://maven.pkg.jetbrains.space/public/p/compose/dev" |
|
} |
|
} |
|
|
|
kotlin { |
|
jvm { |
|
withJava() |
|
} |
|
sourceSets { |
|
named("jvmMain") { |
|
dependencies { |
|
implementation("org.jetbrains.kotlin:kotlin-stdlib") |
|
implementation(compose.desktop.currentOs) |
|
} |
|
} |
|
} |
|
} |
|
|
|
|
|
compose.desktop { |
|
application { |
|
mainClass = "MainKt" |
|
nativeDistributions { |
|
version = "1.0" |
|
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) |
|
} |
|
} |
|
}
|
|
|