Same for test

This commit is contained in:
Ugljesa Jovanovic authored and Ugljesa Jovanovic committed 2020-05-30 00:16:23 +02:00
1 parent b589a12142
commit 639cd317aa
1 file changed
+3 -1
+3 -1
View File
@@ -213,7 +213,9 @@ kotlin {
}
compilations.getByName("test") {
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")
defaultSourceSet.dependsOn(nativeTest)
}