Clean up redundant -Xmulti-platform option from multiplatform projects
It was necessary before, but now it's provided automatically.
This commit is contained in:
@@ -12,8 +12,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
compileKotlin2Js {
|
compileKotlin2Js {
|
||||||
// TODO: Why "-Xmulti-platfrom" ?
|
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package"]
|
||||||
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xmulti-platform"]
|
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
moduleKind = "umd"
|
moduleKind = "umd"
|
||||||
outputFile = "${buildDir}/classes/main/kotlin-test.js"
|
outputFile = "${buildDir}/classes/main/kotlin-test.js"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ dist {
|
|||||||
}
|
}
|
||||||
|
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xmulti-platform", "-module-name", project.name]
|
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-module-name", project.name]
|
||||||
}
|
}
|
||||||
|
|
||||||
compileTestKotlin {
|
compileTestKotlin {
|
||||||
|
|||||||
@@ -32,9 +32,8 @@ dist {
|
|||||||
}
|
}
|
||||||
|
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
// TODO: Why "-Xmulti-platfrom" ?
|
|
||||||
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xnormalize-constructor-calls=enable",
|
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xnormalize-constructor-calls=enable",
|
||||||
"-Xmulti-platform", "-module-name", project.archivesBaseName]
|
"-module-name", project.archivesBaseName]
|
||||||
}
|
}
|
||||||
|
|
||||||
compileTestKotlin {
|
compileTestKotlin {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ dist {
|
|||||||
}
|
}
|
||||||
|
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xmulti-platform", "-module-name", project.name]
|
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-module-name", project.name]
|
||||||
}
|
}
|
||||||
|
|
||||||
compileTestKotlin {
|
compileTestKotlin {
|
||||||
|
|||||||
Reference in New Issue
Block a user