Fix the format used by Kotlin/Native tasks for compiler plugin args

The correct format is "-P arg1", not "-Parg1".
This commit is contained in:
Sergey Igushkin
2018-10-15 21:42:21 +03:00
parent ee63a6b3af
commit e573911e16
@@ -236,7 +236,8 @@ open class KotlinNativeCompile : AbstractCompile() {
add("-Xplugin=$path")
}
compilerPluginOptions.arguments.forEach {
add("-P$it")
add("-P")
add(it)
}
}