forked from UstadMobile/door
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (36 loc) · 1.12 KB
/
build.gradle
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 {
id 'org.jetbrains.kotlin.multiplatform'
id 'org.jetbrains.kotlin.plugin.serialization'
}
group = rootProject.group
version = rootProject.version
repositories {
mavenCentral()
}
kotlin {
js(IR) {
binaries.executable()
browser {
}
}
sourceSets {
jsMain {
dependencies {
implementation enforcedPlatform("org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom:$version_kotlin_wrappers_bom")
implementation "org.jetbrains.kotlin-wrappers:kotlin-react"
implementation "org.jetbrains.kotlin-wrappers:kotlin-react-dom"
implementation "org.jetbrains.kotlin-wrappers:kotlin-react-router-dom"
implementation libs.napier
implementation libs.kotlinx.serialization.json
implementation project(":door-runtime")
implementation project(":door-testdb")
implementation libs.ktor.client.js
}
}
jsTest {
dependencies {
implementation kotlin("test-js")
}
}
}
}