This commit is contained in:
Ugljesa Jovanovic 2020-05-30 00:15:14 +02:00 committed by Ugljesa Jovanovic
parent 452d7561a2
commit b589a12142
No known key found for this signature in database
GPG Key ID: 178E6DFCECCB0E0F

View File

@ -205,7 +205,7 @@ kotlin {
compilations.getByName("main") { compilations.getByName("main") {
println("Setting native sourceset dependancy for $name") println("Setting native sourceset dependancy for $name")
if ((this@withType.name.contains("ios") || if ((this@withType.name.contains("ios") ||
this@withType.name.contains("ios")).not() this@withType.name.contains("mingw")).not()
) { ) {
println("Setting native sourceset dependancy for $this@withType.name") println("Setting native sourceset dependancy for $this@withType.name")
defaultSourceSet.dependsOn(nativeMain) defaultSourceSet.dependsOn(nativeMain)