Change policy with legacy compiler backend
[JS] Remove incremental js jps test [JS] Remove test of maven js archetype [JS] Fix another one test [JS] Fix tests for jps [JS] Try to fix maven test data [JS] Fix test data [JS] Fix test data for ant [JS] Fix jsExtraHelp test [JS] Fix test run from not-Gradle build tools [JS] Set flag without compiler error [JS] Disable warnings and errors in legacy compiler called from Gradle [JS] Proofread messages [JS] Not proofread messages KT-42326
This commit is contained in:
committed by
Space Team
parent
a3ad0a6e88
commit
c726360ad2
+8
-1
@@ -3,7 +3,14 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/hello.kt] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/hello.kt" output="${temp}/out.js">
|
||||
<compilerarg value="-Xno-inline"/>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
+8
-1
@@ -3,7 +3,14 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<kotlin2js src="${test.data}/root1"
|
||||
output="${temp}/out.js"
|
||||
outputPrefix="${test.data}/prefix"
|
||||
outputPostfix="${test.data}/postfix" />
|
||||
outputPostfix="${test.data}/postfix">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -3,7 +3,14 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1, [TestData]/bar.kt, [TestData]/root2/Foo.kt] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<include name="**/*.kt"/>
|
||||
</fileset>
|
||||
</src>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -3,7 +3,14 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" outputPostfix="${test.data}/postfix" />
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" outputPostfix="${test.data}/postfix">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -3,7 +3,14 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" outputPrefix="${test.data}/prefix" />
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" outputPrefix="${test.data}/prefix">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
+8
-1
@@ -2,7 +2,14 @@ OUT:
|
||||
Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[java] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[java] warning: ==========
|
||||
[java] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[java]
|
||||
[java] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[java] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[java]
|
||||
[java] 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.
|
||||
[java] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<pathelement location="${kotlin.lib}/kotlin-stdlib.jar"/>
|
||||
</classpath>
|
||||
<arg value="${test.data}/root1/foo.kt"/>
|
||||
<arg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<arg value="-output"/>
|
||||
<arg value="out.js"/>
|
||||
<jvmarg value="-noverify"/>
|
||||
|
||||
@@ -3,7 +3,14 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
+3
-1
@@ -2,6 +2,8 @@
|
||||
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call"/>
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
+16
-2
@@ -4,9 +4,23 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[mkdir] Created dir: [Temp]/lib
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example] => [[Temp]/lib/jslib-example.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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 2 files to [Temp]
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
|
||||
+4
-1
@@ -5,12 +5,15 @@
|
||||
<target name="build">
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path}" output="${temp.library.path}/jslib-example.js" metaInfo="true"/>
|
||||
<kotlin2js src="${library.path}" output="${temp.library.path}/jslib-example.js" metaInfo="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}/jslib-example.meta.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
Vendored
+16
-2
@@ -4,9 +4,23 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[mkdir] Created dir: [Temp]/lib
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example] => [[Temp]/lib/jslib-example.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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 2 files to [Temp]
|
||||
[copy] Copying 1 file to [Temp]
|
||||
|
||||
|
||||
+4
-1
@@ -5,12 +5,15 @@
|
||||
<target name="build">
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path}" output="${temp.library.path}/jslib-example.js" metaInfo="true" moduleKind="umd"/>
|
||||
<kotlin2js src="${library.path}" output="${temp.library.path}/jslib-example.js" metaInfo="true" moduleKind="umd">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call" moduleKind="amd">
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}/jslib-example.meta.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
Vendored
+24
-3
@@ -4,15 +4,36 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[mkdir] Created dir: [Temp]/lib
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example1] => [[Temp]/lib/jslib-example1.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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
|
||||
|
||||
+5
-1
@@ -6,11 +6,14 @@
|
||||
<target name="build">
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path1}" output="${temp.library.path}/jslib-example1.js" metaInfo="true"/>
|
||||
<kotlin2js src="${library.path1}" output="${temp.library.path}/jslib-example1.js" metaInfo="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</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"/>
|
||||
</kotlin2js>
|
||||
|
||||
<concat destfile="${temp.library.path}/jslib-example.js">
|
||||
@@ -29,6 +32,7 @@
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}/jslib-example.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
@@ -3,7 +3,14 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call"/>
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
+8
-1
@@ -3,7 +3,14 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call"/>
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
+24
-3
@@ -4,11 +4,32 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[mkdir] Created dir: [Temp]/lib
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example1] => [[Temp]/lib/jslib-example1.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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 4 files to [Temp]
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
|
||||
+5
-1
@@ -6,11 +6,14 @@
|
||||
<target name="build">
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path1}" output="${temp.library.path}/jslib-example1.js" metaInfo="true"/>
|
||||
<kotlin2js src="${library.path1}" output="${temp.library.path}/jslib-example1.js" metaInfo="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</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"/>
|
||||
</kotlin2js>
|
||||
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
||||
@@ -18,6 +21,7 @@
|
||||
<pathelement path="${temp.library.path}/jslib-example1.meta.js"/>
|
||||
<pathelement path="${temp.library.path}/jslib-example2.meta.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
+8
-1
@@ -3,7 +3,14 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call"/>
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
+8
-1
@@ -3,7 +3,14 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" noStdlib="true" output="${temp}/out.js"/>
|
||||
<kotlin2js src="${test.data}/root1" noStdlib="true" output="${temp}/out.js">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
Vendored
+16
-2
@@ -4,9 +4,23 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[mkdir] Created dir: [Temp]/lib
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example] => [[Temp]/lib/jslib-example.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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 2 files to [Temp]
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
|
||||
+4
-1
@@ -5,12 +5,15 @@
|
||||
<target name="build">
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path}" noStdlib="true" output="${temp.library.path}/jslib-example.js" metaInfo="true"/>
|
||||
<kotlin2js src="${library.path}" noStdlib="true" output="${temp.library.path}/jslib-example.js" metaInfo="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
|
||||
<kotlin2js src="${test.data}/root1" noStdlib="true" output="${temp}/out.js" main="call">
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
Vendored
+16
-2
@@ -4,9 +4,23 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[mkdir] Created dir: [Temp]/lib
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example] => [[Temp]/lib/jslib-example.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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 2 files to [Temp]
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
|
||||
+4
-1
@@ -5,12 +5,15 @@
|
||||
<target name="build">
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path}" noStdlib="true" output="${temp.library.path}/jslib-example.js" metaInfo="true"/>
|
||||
<kotlin2js src="${library.path}" noStdlib="true" output="${temp.library.path}/jslib-example.js" metaInfo="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
|
||||
<kotlin2js src="${test.data}/root1" noStdlib="true" output="${temp}/out.js" main="call">
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}/jslib-example.meta.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
@@ -3,7 +3,14 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" sourcemap="true"/>
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" sourcemap="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -3,7 +3,14 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" nowarn="true"/>
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" nowarn="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -6,7 +6,14 @@ build:
|
||||
[kotlin2js] logging: using Kotlin home directory [KotlinProjectHome]/dist/kotlinc
|
||||
[kotlin2js] logging: exception on loading scripting plugin: java.lang.ClassNotFoundException: org.jetbrains.kotlin.scripting.compiler.plugin.ScriptingCompilerConfigurationComponentRegistrar
|
||||
[kotlin2js] logging: compiling source files: [TestData]/root1/foo.kt
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
+3
-1
@@ -2,6 +2,8 @@
|
||||
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" verbose="true"/>
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" verbose="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -4,7 +4,14 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] info: kotlinc-js [KotlinVersion] (JRE [JREVersion])
|
||||
[kotlin2js] warning: legacy compiler is deprecated. Please migrate onto IR.
|
||||
[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]
|
||||
|
||||
+3
-1
@@ -2,6 +2,8 @@
|
||||
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" printVersion="true"/>
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" printVersion="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user