blob: ec366c9d93a51dcf4c38d6b8eb40a2ac71398621 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
plugins {
id("org.jetbrains.dokka")
kotlin("js")
}
apply(from = "../template.root.gradle.kts")
kotlin {
js(IR) {
browser()
nodejs()
}
}
dependencies {
implementation(kotlin("stdlib"))
implementation(npm("is-sorted", "1.0.5"))
val reactVersion = properties["react_version"]
implementation("org.jetbrains.kotlin-wrappers:kotlin-react:$reactVersion")
implementation("org.jetbrains.kotlin-wrappers:kotlin-react-dom:$reactVersion")
}
|