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.
56 lines
1.3 KiB
56 lines
1.3 KiB
3 years ago
|
import org.jetbrains.compose.gradle.standardConf
|
||
|
|
||
4 years ago
|
plugins {
|
||
3 years ago
|
kotlin("multiplatform")
|
||
4 years ago
|
id("org.jetbrains.compose")
|
||
|
}
|
||
|
|
||
|
|
||
|
kotlin {
|
||
|
jvm()
|
||
|
js(IR) {
|
||
|
browser() {
|
||
|
testTask {
|
||
|
useKarma {
|
||
3 years ago
|
standardConf()
|
||
4 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
binaries.executable()
|
||
|
}
|
||
|
|
||
|
sourceSets {
|
||
4 years ago
|
val commonMain by getting {
|
||
4 years ago
|
dependencies {
|
||
|
implementation(compose.runtime)
|
||
|
}
|
||
|
}
|
||
|
|
||
4 years ago
|
val jsMain by getting {
|
||
3 years ago
|
languageSettings {
|
||
|
optIn("org.jetbrains.compose.web.internal.runtime.ComposeWebInternalApi")
|
||
|
}
|
||
4 years ago
|
dependencies {
|
||
2 years ago
|
implementation(project(":internal-html-core-runtime"))
|
||
4 years ago
|
}
|
||
|
}
|
||
|
|
||
4 years ago
|
val jsTest by getting {
|
||
3 years ago
|
languageSettings {
|
||
|
optIn("org.jetbrains.compose.web.internal.runtime.ComposeWebInternalApi")
|
||
|
optIn("org.jetbrains.compose.web.testutils.ComposeWebExperimentalTestsApi")
|
||
|
}
|
||
4 years ago
|
dependencies {
|
||
2 years ago
|
implementation(project(":html-test-utils"))
|
||
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)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|