Dont add default soruce set to mingw on multiplatform-crypto, as it uses it's own SRNG

This commit is contained in:
Ugljesa Jovanovic authored and Ugljesa Jovanovic committed 2020-05-30 00:09:10 +02:00
1 parent 82470472ad
commit 452d7561a2
1 file changed
+3 -1
+3 -1
View File
@@ -204,7 +204,9 @@ kotlin {
targets.withType<org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget> {
compilations.getByName("main") {
println("Setting native sourceset dependancy for $name")
if (this@withType.name.contains("ios").not()) {
if ((this@withType.name.contains("ios") ||
this@withType.name.contains("ios")).not()
) {
println("Setting native sourceset dependancy for $this@withType.name")
defaultSourceSet.dependsOn(nativeMain)
}