-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
60 lines (56 loc) · 1.23 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import util.withName
plugins {
if (System.getenv("CI") == null) {
id("convention.git-hooks")
}
id("convention.library-mpp")
id("convention.publishing-nexus")
id("convention.publishing-mpp")
}
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}
kotlin {
sourceSets {
commonMain {
dependencies {
api(project(":library:klip-api"))
api(project(":library:klip-runner"))
api(project(":library:klip-assertions"))
}
}
withName("androidMain") {
dependencies {
implementation("io.ktor:ktor-client-android:_")
}
}
withName("jsMain") {
dependencies {
implementation("io.ktor:ktor-client-js:_")
}
}
withName("jvmMain") {
dependencies {
implementation("io.ktor:ktor-client-java:_")
}
}
withName("linuxX64Main") {
dependencies {
implementation("io.ktor:ktor-client-curl:_")
}
}
withName("mingwX64Main") {
dependencies {
implementation("io.ktor:ktor-client-curl:_")
}
}
withName("appleMain") {
dependencies {
implementation("io.ktor:ktor-client-darwin:_")
}
}
}
}