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.
34 lines
594 B
34 lines
594 B
3 years ago
|
import org.jetbrains.compose.gradle.standardConf
|
||
|
|
||
3 years ago
|
plugins {
|
||
|
kotlin("multiplatform")
|
||
|
id("org.jetbrains.compose")
|
||
|
}
|
||
|
|
||
|
|
||
|
kotlin {
|
||
|
js(IR) {
|
||
|
browser() {
|
||
|
testTask {
|
||
|
useKarma {
|
||
3 years ago
|
standardConf()
|
||
3 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
sourceSets {
|
||
|
val commonMain by getting {
|
||
|
dependencies {
|
||
|
implementation(compose.runtime)
|
||
|
}
|
||
|
}
|
||
3 years ago
|
|
||
|
val jsTest by getting {
|
||
3 years ago
|
dependencies {
|
||
3 years ago
|
implementation(kotlin("test-js"))
|
||
3 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|