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 {
|
||||
// TODO: Why "-Xmulti-platfrom" ?
|
||||
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xmulti-platform"]
|
||||
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package"]
|
||||
kotlinOptions {
|
||||
moduleKind = "umd"
|
||||
outputFile = "${buildDir}/classes/main/kotlin-test.js"
|
||||
|
||||
@@ -29,7 +29,7 @@ dist {
|
||||
}
|
||||
|
||||
compileKotlin {
|
||||
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xmulti-platform", "-module-name", project.name]
|
||||
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-module-name", project.name]
|
||||
}
|
||||
|
||||
compileTestKotlin {
|
||||
|
||||
@@ -32,9 +32,8 @@ dist {
|
||||
}
|
||||
|
||||
compileKotlin {
|
||||
// TODO: Why "-Xmulti-platfrom" ?
|
||||
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xnormalize-constructor-calls=enable",
|
||||
"-Xmulti-platform", "-module-name", project.archivesBaseName]
|
||||
"-module-name", project.archivesBaseName]
|
||||
}
|
||||
|
||||
compileTestKotlin {
|
||||
|
||||
@@ -29,7 +29,7 @@ dist {
|
||||
}
|
||||
|
||||
compileKotlin {
|
||||
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xmulti-platform", "-module-name", project.name]
|
||||
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-module-name", project.name]
|
||||
}
|
||||
|
||||
compileTestKotlin {
|
||||
|
||||
Reference in New Issue
Block a user