[JS IR BE] Fix misprint
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ class K2JSCompilerArguments : CommonCompilerArguments() {
|
|||||||
value = "-Xir-legacy-gradle-plugin-compatibility",
|
value = "-Xir-legacy-gradle-plugin-compatibility",
|
||||||
description = "Make KLIB generation compatible with legacy gradle plugin"
|
description = "Make KLIB generation compatible with legacy gradle plugin"
|
||||||
)
|
)
|
||||||
var irLegacyGradlePluginCompatimbility: Boolean by FreezableVar(false)
|
var irLegacyGradlePluginCompatibility: Boolean by FreezableVar(false)
|
||||||
|
|
||||||
@GradleOption(DefaultValues.BooleanTrueDefault::class)
|
@GradleOption(DefaultValues.BooleanTrueDefault::class)
|
||||||
@Argument(value = "-Xtyped-arrays", description = "Translate primitive arrays to JS typed arrays")
|
@Argument(value = "-Xtyped-arrays", description = "Translate primitive arrays to JS typed arrays")
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
|
|||||||
|
|
||||||
if (produceKind == ProduceKind.KLIB || (produceKind == ProduceKind.DEFAULT && arguments.metaInfo)) {
|
if (produceKind == ProduceKind.KLIB || (produceKind == ProduceKind.DEFAULT && arguments.metaInfo)) {
|
||||||
val outputKlibPath =
|
val outputKlibPath =
|
||||||
if (arguments.irLegacyGradlePluginCompatimbility)
|
if (arguments.irLegacyGradlePluginCompatibility)
|
||||||
File(outputFilePath).parent
|
File(outputFilePath).parent
|
||||||
else
|
else
|
||||||
"$outputFilePath.klib"
|
"$outputFilePath.klib"
|
||||||
@@ -172,7 +172,7 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
|
|||||||
allDependencies = dependencies,
|
allDependencies = dependencies,
|
||||||
friendDependencies = friendDependencies,
|
friendDependencies = friendDependencies,
|
||||||
outputKlibPath = outputKlibPath,
|
outputKlibPath = outputKlibPath,
|
||||||
nopack = arguments.irLegacyGradlePluginCompatimbility
|
nopack = arguments.irLegacyGradlePluginCompatibility
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user