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.
50 lines
1.1 KiB
50 lines
1.1 KiB
4 years ago
|
plugins {
|
||
|
id("kotlin-multiplatform")
|
||
|
id("org.jetbrains.compose")
|
||
|
}
|
||
|
|
||
|
|
||
|
kotlin {
|
||
|
jvm()
|
||
|
js(IR) {
|
||
|
browser() {
|
||
|
testTask {
|
||
|
testLogging.showStandardStreams = true
|
||
|
useKarma {
|
||
|
useChromeHeadless()
|
||
|
useFirefox()
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
binaries.executable()
|
||
|
}
|
||
|
|
||
|
sourceSets {
|
||
4 years ago
|
val commonMain by getting {
|
||
4 years ago
|
dependencies {
|
||
|
implementation(compose.runtime)
|
||
|
implementation(kotlin("stdlib-common"))
|
||
|
}
|
||
|
}
|
||
|
|
||
4 years ago
|
val jsMain by getting {
|
||
4 years ago
|
dependencies {
|
||
|
implementation(kotlin("stdlib-js"))
|
||
4 years ago
|
implementation(npm("css-typed-om", "0.4.0"))
|
||
4 years ago
|
}
|
||
|
}
|
||
|
|
||
4 years ago
|
val jsTest by getting {
|
||
4 years ago
|
dependencies {
|
||
4 years ago
|
implementation(kotlin("test-js"))
|
||
4 years ago
|
}
|
||
|
}
|
||
|
|
||
4 years ago
|
val jvmMain by getting {
|
||
4 years ago
|
dependencies {
|
||
|
implementation(compose.desktop.currentOs)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|