-
Notifications
You must be signed in to change notification settings - Fork 82
/
build.gradle.kts
36 lines (31 loc) · 1.02 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
plugins {
`kord-multiplatform-module`
`kord-publishing`
}
kotlin {
sourceSets {
commonMain {
dependencies {
api(projects.common)
api(libs.bundles.ktor.client.serialization)
implementation(libs.kotlin.logging)
compileOnly(projects.kspAnnotations)
}
}
jvmMain {
dependencies {
implementation(libs.slf4j.api)
}
}
jsMain {
dependencies {
implementation(libs.kotlin.node)
implementation(npm("fast-zlib", libs.versions.fastZlib.get()))
// workaround for https://youtrack.jetbrains.com/issue/KT-43500 /
// https://youtrack.jetbrains.com/issue/KT-64109#focus=Comments-27-10064206.0-0 /
// https://youtrack.jetbrains.com/issue/KT-61096 (intended to be compileOnly in commonMain only)
implementation(projects.kspAnnotations)
}
}
}
}