Same for test

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

View File

@ -213,7 +213,9 @@ kotlin {
} }
compilations.getByName("test") { compilations.getByName("test") {
println("Setting native sourceset dependancy for $name") println("Setting native sourceset dependancy for $name")
if (this@withType.name.contains("ios").not()) { if ((this@withType.name.contains("ios") ||
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(nativeTest) defaultSourceSet.dependsOn(nativeTest)
} }