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.
29 lines
640 B
29 lines
640 B
4 years ago
|
import org.jetbrains.compose.compose
|
||
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||
|
|
||
|
plugins {
|
||
|
kotlin("multiplatform")
|
||
|
id("org.jetbrains.compose")
|
||
|
}
|
||
|
|
||
|
kotlin {
|
||
|
jvm {}
|
||
|
sourceSets {
|
||
|
named("jvmMain") {
|
||
|
dependencies {
|
||
|
implementation(compose.desktop.currentOs)
|
||
|
implementation(project(":SplitPane:library"))
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
compose.desktop {
|
||
|
application {
|
||
|
mainClass = "org.jetbrains.compose.splitpane.demo.MainKt"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
tasks.withType<KotlinCompile>().configureEach {
|
||
|
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
|
||
4 years ago
|
}
|