-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
44 lines (41 loc) · 1.08 KB
/
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 {
val kotlinVersion = "1.8.10"
kotlin("multiplatform") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("org.jetbrains.compose") version "1.3.1"
}
group = "com.github.erikhuizinga"
version = "1.0.0"
repositories {
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
kotlin {
js(IR) {
browser {
testTask {
testLogging.showStandardStreams = true
useKarma {
useChromeHeadless()
useFirefoxHeadless()
}
}
}
binaries.executable()
}
sourceSets {
val jsMain by getting {
dependencies {
implementation(compose.web.core)
implementation(compose.runtime)
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1")
}
}
val jsTest by getting {
dependencies {
implementation(kotlin("test-js"))
}
}
}
}