[K/JS Gradle] Remove forceLegacyBackendUsage from KotlinGradlePlugin previously added with the compiler flags refactoring, also fix bootstrap compilation of atomicfu plugin

This commit is contained in:
Artem Kobzar
2023-04-12 14:04:34 +00:00
committed by Space Team
parent 592baee852
commit f0aa6c6d32
5 changed files with 14 additions and 4 deletions
@@ -158,10 +158,6 @@ abstract class Kotlin2JsCompile @Inject constructor(
args.fragmentRefines = multiplatformStructure.fragmentRefinesCompilerArgs
}
if (!isIrBackendEnabled()) {
args.forceDeprecatedLegacyCompilerUsage = true
}
// Overriding freeArgs from compilerOptions with enhanced one + additional one set on execution phase
// containing additional arguments based on the js compilation configuration
args.freeArgs = executionTimeFreeCompilerArgs ?: enhancedFreeCompilerArgs.get()