[K/JS] Remove an internal system property and replace it with the new compiler flag
This commit is contained in:
Vendored
-24
@@ -4,36 +4,12 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[mkdir] Created dir: [Temp]/lib
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example1] => [[Temp]/lib/jslib-example1.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] ==========
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example2] => [[Temp]/lib/jslib-example2.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] ==========
|
||||
[delete] Deleting: [Temp]/lib/jslib-example1.js
|
||||
[delete] Deleting: [Temp]/lib/jslib-example2.js
|
||||
[delete] Deleting: [Temp]/lib/jslib-example1.meta.js
|
||||
[delete] Deleting: [Temp]/lib/jslib-example2.meta.js
|
||||
[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] ==========
|
||||
[copy] Copying 1 file to [Temp]
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
|
||||
+3
-3
@@ -7,13 +7,13 @@
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path1}" output="${temp.library.path}/jslib-example1.js" metaInfo="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
<kotlin2js src="${library.path2}" output="${temp.library.path}/jslib-example2.js" metaInfo="true">
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}/jslib-example1.meta.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
|
||||
<concat destfile="${temp.library.path}/jslib-example.js">
|
||||
@@ -32,7 +32,7 @@
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}/jslib-example.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
Reference in New Issue
Block a user