Fix flags for swiftinterop (#3354)

This commit is contained in:
LepilkinaElena
2019-09-18 10:33:00 +03:00
committed by GitHub
parent f50c3f0b22
commit 46793f5a9e
+1 -1
View File
@@ -55,7 +55,7 @@ kotlin {
}
macosX64("macos") {
compilations.main.extraOpts = (project.hasProperty('compilerArgs') ? compilerArgs.split() : []) + '-opt'
compilations.main.kotlinOptions.freeCompilerArgs = ["-l", "kotlinx-cli", "-opt"] + (project.hasProperty('compilerArgs') ? compilerArgs.split() : [])
binaries {
framework(frameworkName, [RELEASE])
}