-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle.kts
38 lines (30 loc) · 995 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
import com.moowork.gradle.node.NodeExtension
import com.moowork.gradle.node.task.NodeTask
import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
import java.net.URI
buildscript {
dependencies {
classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.14.4")
}
}
group = "org.qbit"
version = "0.3.0-SNAPSHOT"
plugins {
val kotlin_version: String by System.getProperties()
kotlin("multiplatform") version kotlin_version apply false
id("com.moowork.node") version "1.3.1" apply false
id("org.jetbrains.kotlin.plugin.serialization") version kotlin_version apply false
}
subprojects {
group = rootProject.group
version = rootProject.version
apply(plugin = ("kotlin-multiplatform"))
apply(plugin = ("kotlinx-serialization"))
apply(plugin = ("kotlinx-atomicfu"))
apply(plugin = ("com.moowork.node"))
repositories {
mavenCentral()
jcenter()
maven { url = URI("https://kotlin.bintray.com/kotlinx") }
}
}