-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
44 lines (40 loc) · 927 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
plugins {
kotlin("multiplatform") version "1.9.20"
id("org.jetbrains.compose") version "1.5.10"
}
group = "dev.valvassori"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
kotlin {
js(IR) {
browser {
testTask {
testLogging.showStandardStreams = true
useKarma {
useChromeHeadless()
}
}
}
binaries.executable()
}
sourceSets {
all {
languageSettings.apply {
optIn("kotlin.ExperimentalStdlibApi")
}
}
val jsMain by getting {
dependencies {
implementation(compose.html.core)
implementation(compose.runtime)
}
}
val jsTest by getting {
dependencies {
implementation(kotlin("test-js"))
}
}
}
}