Mistake mistake
This commit is contained in:
		
							parent
							
								
									e7093ab15f
								
							
						
					
					
						commit
						adf81371ed
					
				@ -100,16 +100,29 @@ kotlin {
 | 
			
		||||
 | 
			
		||||
    runningOnMacos {
 | 
			
		||||
        val iosX64Target = iosX64() {
 | 
			
		||||
            baseName = "LibsodiumBindings"
 | 
			
		||||
            export(Deps.Common.libsodiumBindings)
 | 
			
		||||
            binaries {
 | 
			
		||||
                framework {
 | 
			
		||||
                    baseName = "LibsodiumBindings"
 | 
			
		||||
                    export(Deps.Common.libsodiumBindings)
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
        val iosArm64Target = iosArm64() {
 | 
			
		||||
            baseName = "LibsodiumBindings"
 | 
			
		||||
            export(Deps.Common.libsodiumBindings)
 | 
			
		||||
            binaries {
 | 
			
		||||
                framework {
 | 
			
		||||
                    baseName = "LibsodiumBindings"
 | 
			
		||||
                    export(Deps.Common.libsodiumBindings)
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        val iosArm32Target = iosArm32() {
 | 
			
		||||
            baseName = "LibsodiumBindings"
 | 
			
		||||
            export(Deps.Common.libsodiumBindings)
 | 
			
		||||
            binaries {
 | 
			
		||||
                framework {
 | 
			
		||||
                    baseName = "LibsodiumBindings"
 | 
			
		||||
                    export(Deps.Common.libsodiumBindings)
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        val macosX64Target = macosX64()
 | 
			
		||||
        val tvosX64Target = tvosX64()
 | 
			
		||||
@ -122,16 +135,16 @@ kotlin {
 | 
			
		||||
            binaries.executable {}
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
//        configure(listOf(
 | 
			
		||||
//            iosX64Target, iosArm64Target, iosArm32Target,
 | 
			
		||||
//            tvosX64Target, tvosArm64Target, watchosArm64Target,
 | 
			
		||||
//            watchosArm32Target, watchosX86Target)
 | 
			
		||||
//        ) {
 | 
			
		||||
//            binaries.framework {
 | 
			
		||||
//                baseName = "LibsodiumBindings"
 | 
			
		||||
//                export(Deps.Common.libsodiumBindings)
 | 
			
		||||
//            }
 | 
			
		||||
//        }
 | 
			
		||||
        configure(listOf(
 | 
			
		||||
            iosX64Target, iosArm64Target, iosArm32Target,
 | 
			
		||||
            tvosX64Target, tvosArm64Target, watchosArm64Target,
 | 
			
		||||
            watchosArm32Target, watchosX86Target)
 | 
			
		||||
        ) {
 | 
			
		||||
            binaries.framework {
 | 
			
		||||
                baseName = "LibsodiumBindings"
 | 
			
		||||
                export(Deps.Common.libsodiumBindings)
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        val mode = System.getenv("CONFIGURATION") ?: "DEBUG"
 | 
			
		||||
        println("Mode $mode")
 | 
			
		||||
        // Create a task to build a fat framework.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user