[K/JS] Remove an internal system property and replace it with the new compiler flag

This commit is contained in:
Artem Kobzar
2023-03-17 12:38:34 +00:00
committed by Space Team
parent ca2492e1f8
commit 4da81b2b6e
164 changed files with 100 additions and 566 deletions
@@ -3,14 +3,6 @@ Buildfile: [TestData]/build.xml
build:
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
[kotlin2js] warning: ==========
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
[kotlin2js]
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
[kotlin2js]
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
[kotlin2js] ==========
BUILD SUCCESSFUL
Total time: [time]
+1 -1
View File
@@ -3,7 +3,7 @@
<target name="build">
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" sourcemap="true">
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
</kotlin2js>
</target>
</project>