mingw depend on native main, add idea workarounds
This commit is contained in:
parent
fc159d116f
commit
928621eaab
@ -307,9 +307,15 @@ kotlin {
|
|||||||
|
|
||||||
val macosX64Main by getting {
|
val macosX64Main by getting {
|
||||||
dependsOn(nativeMain)
|
dependsOn(nativeMain)
|
||||||
|
if (ideaActive) {
|
||||||
|
kotlin.srcDir("src/nativeMain/kotlin")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
val macosX64Test by getting {
|
val macosX64Test by getting {
|
||||||
dependsOn(nativeTest)
|
dependsOn(nativeTest)
|
||||||
|
if (ideaActive) {
|
||||||
|
kotlin.srcDir("src/nativeTest/kotlin")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -327,9 +333,9 @@ kotlin {
|
|||||||
//
|
//
|
||||||
if (hostOsName == "windows") {
|
if (hostOsName == "windows") {
|
||||||
val mingwX64Main by getting {
|
val mingwX64Main by getting {
|
||||||
dependsOn(commonMain)
|
dependsOn(nativeMain)
|
||||||
dependencies {
|
if (ideaActive) {
|
||||||
implementation(Deps.Native.coroutines)
|
kotlin.srcDir("src/nativeMain/kotlin")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user