[Gradle] Kotlin2JsCompile: convert enhancedFreeCompilerArgs to ArrayList
... using .toList(): Using ListProperty.get() can return List implementations that do not play well with CompilerArguments. In this particular case RegularImmutableList from guava was returned which later failed in the copyBeanTo function ^KT-58427 Verification Pending
This commit is contained in:
committed by
Space Team
parent
736cbfc38e
commit
ca8af7786e
+1
-1
@@ -167,7 +167,7 @@ abstract class Kotlin2JsCompile @Inject constructor(
|
|||||||
|
|
||||||
// Overriding freeArgs from compilerOptions with enhanced one + additional one set on execution phase
|
// Overriding freeArgs from compilerOptions with enhanced one + additional one set on execution phase
|
||||||
// containing additional arguments based on the js compilation configuration
|
// containing additional arguments based on the js compilation configuration
|
||||||
args.freeArgs = executionTimeFreeCompilerArgs ?: enhancedFreeCompilerArgs.get()
|
args.freeArgs = executionTimeFreeCompilerArgs ?: enhancedFreeCompilerArgs.get().toList()
|
||||||
}
|
}
|
||||||
|
|
||||||
pluginClasspath { args ->
|
pluginClasspath { args ->
|
||||||
|
|||||||
Reference in New Issue
Block a user