Fix -Xcommon-sources in native args
This commit is contained in:
committed by
Ilya Matveev
parent
a97f2bb992
commit
da1fcb008b
+2
@@ -263,8 +263,10 @@ open class KotlinNativeCompile : AbstractCompile() {
|
|||||||
|
|
||||||
// Sources.
|
// Sources.
|
||||||
addAll(getSource().map { it.absolutePath })
|
addAll(getSource().map { it.absolutePath })
|
||||||
|
if (!commonSources.isEmpty) {
|
||||||
add("-Xcommon-sources=${commonSources.map { it.absolutePath }.joinToString(separator = ",")}")
|
add("-Xcommon-sources=${commonSources.map { it.absolutePath }.joinToString(separator = ",")}")
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@TaskAction
|
@TaskAction
|
||||||
override fun compile() {
|
override fun compile() {
|
||||||
|
|||||||
Reference in New Issue
Block a user