Dont add default soruce set to mingw on multiplatform-crypto, as it uses it's own SRNG
This commit is contained in:
		
							parent
							
								
									82470472ad
								
							
						
					
					
						commit
						452d7561a2
					
				@ -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)
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user