-
-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
36 lines (31 loc) · 897 Bytes
/
Copy pathbuild.gradle.kts
File metadata and controls
36 lines (31 loc) · 897 Bytes
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
plugins {
buildsrc.convention.`kotlin-multiplatform`
buildsrc.convention.`publish-kmp`
}
kotlin {
jvm {}
sourceSets {
val commonMain by getting {
dependencies {
implementation(projects.dsl)
api(Deps.KotlinX.Coroutines.core)
}
}
val jvmMain by getting {
dependencies {
api(Deps.jsoup)
implementation(Deps.Kotlin.reflect) {
because("to support Result#extractIt by creating instance of a class")
}
api(Deps.KotlinX.Coroutines.jdk8)
}
}
val jvmTest by getting {
dependencies {
implementation(projects.testUtils)
implementation(Deps.Ktor.client)
implementation(Deps.Ktor.clientApache)
}
}
}
}