mirror of
https://github.com/jlengrand/ktor.git
synced 2026-03-10 08:31:20 +00:00
27 lines
568 B
Kotlin
27 lines
568 B
Kotlin
import org.jetbrains.kotlin.gradle.plugin.mpp.*
|
|
|
|
val nativeCompilations: List<KotlinNativeCompilation> by project.extra
|
|
|
|
kotlin {
|
|
configure(nativeCompilations) {
|
|
cinterops {
|
|
val utils by creating {
|
|
defFile("posix/interop/utils.def")
|
|
}
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
api(project(":ktor-io"))
|
|
}
|
|
}
|
|
commonTest {
|
|
dependencies {
|
|
api(project(":ktor-test-dispatcher"))
|
|
}
|
|
}
|
|
}
|
|
}
|