[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",
|
||||
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)
|
||||
@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)) {
|
||||
val outputKlibPath =
|
||||
if (arguments.irLegacyGradlePluginCompatimbility)
|
||||
if (arguments.irLegacyGradlePluginCompatibility)
|
||||
File(outputFilePath).parent
|
||||
else
|
||||
"$outputFilePath.klib"
|
||||
@@ -172,7 +172,7 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
|
||||
allDependencies = dependencies,
|
||||
friendDependencies = friendDependencies,
|
||||
outputKlibPath = outputKlibPath,
|
||||
nopack = arguments.irLegacyGradlePluginCompatimbility
|
||||
nopack = arguments.irLegacyGradlePluginCompatibility
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user