Simplify build-script

This commit is contained in:
Iaroslav Postovalov 2020-10-04 13:19:49 +07:00
parent 54eb66ac70
commit ef31cfcd65
No known key found for this signature in database
GPG Key ID: 46E15E4A31B3BCD7

View File

@ -8,15 +8,13 @@ plugins {
kotlin { kotlin {
targets.withType<KotlinNativeTarget> { targets.withType<KotlinNativeTarget> {
compilations["main"].apply { compilations["main"].cinterops {
cinterops {
val libgsl by creating { val libgsl by creating {
defFile("src/nativeInterop/cinterop/libgsl.def") defFile("src/nativeInterop/cinterop/libgsl.def")
includeDirs { allHeaders("./src/nativeMain/resources/") } includeDirs { allHeaders("./src/nativeMain/resources/") }
} }
} }
} }
}
sourceSets.commonMain { sourceSets.commonMain {
dependencies { dependencies {