-
-
Notifications
You must be signed in to change notification settings - Fork 161
/
Copy pathbuild.gradle.kts
40 lines (35 loc) · 939 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
/*
* Copyright 2019-2021 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
plugins {
kotlin("multiplatform")
publish
}
kotlin {
jvm()
js { browser(); nodejs() }
macosX64()
iosArm64(); iosX64()
watchosArm32(); watchosArm64()
linux(x64 = true)
mingw(x64 = true)
configure(targets) { configureMavenPublication() }
sourceSets {
commonMain.dependencies {
api(splitties("experimental"))
api(KotlinX.coroutines.core)
}
commonTest {
dependencies {
implementation(Kotlin.test)
implementation(KotlinX.coroutines.test)
implementation(Testing.kotest.assertions.core)
}
}
all {
languageSettings.apply {
optIn("splitties.experimental.ExperimentalSplittiesApi")
}
}
}
}