[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
@@ -112,7 +112,6 @@
</pomIncludes>
<properties>
<kotlin.version>${project.version}</kotlin.version>
<kotlin.js.compiler.legacy.force_enabled>true</kotlin.js.compiler.legacy.force_enabled>
</properties>
<!--This could speed up test by providing local repo as remote repo for test but might be tricky on different OS-->
<!--<settingsFile>src/it/settings.xml</settingsFile>-->
@@ -33,7 +33,7 @@
<configuration>
<output>${project.basedir}/customOutput/</output>
<args>
<arg>-Xuse-deprecated-legacy-compiler</arg>
<arg>-Xforce-deprecated-legacy-compiler-usage</arg>
</args>
</configuration>
</execution>
@@ -44,7 +44,7 @@
</goals>
<configuration>
<args>
<arg>-Xuse-deprecated-legacy-compiler</arg>
<arg>-Xforce-deprecated-legacy-compiler-usage</arg>
</args>
</configuration>
</execution>
@@ -34,7 +34,7 @@
<configuration>
<args>
<arg>-Xno-inline</arg>
<arg>-Xuse-deprecated-legacy-compiler</arg>
<arg>-Xforce-deprecated-legacy-compiler-usage</arg>
</args>
</configuration>
</plugin>
@@ -34,7 +34,7 @@
<configuration>
<moduleKind>umd</moduleKind>
<args>
<arg>-Xuse-deprecated-legacy-compiler</arg>
<arg>-Xforce-deprecated-legacy-compiler-usage</arg>
</args>
</configuration>
</plugin>
@@ -35,7 +35,7 @@
<sourceMap>true</sourceMap>
<sourceMapPrefix>prefixprefix/</sourceMapPrefix>
<args>
<arg>-Xuse-deprecated-legacy-compiler</arg>
<arg>-Xforce-deprecated-legacy-compiler-usage</arg>
</args>
</configuration>
</plugin>
@@ -35,7 +35,7 @@
<sourceMap>true</sourceMap>
<sourceMapEmbedSources>always</sourceMapEmbedSources>
<args>
<arg>-Xuse-deprecated-legacy-compiler</arg>
<arg>-Xforce-deprecated-legacy-compiler-usage</arg>
</args>
</configuration>
</plugin>
@@ -34,7 +34,7 @@
<configuration>
<nowarn>true</nowarn>
<args>
<arg>-Xuse-deprecated-legacy-compiler</arg>
<arg>-Xforce-deprecated-legacy-compiler-usage</arg>
</args>
</configuration>
</plugin>
@@ -52,7 +52,7 @@
<configuration>
<multiPlatform>true</multiPlatform>
<args>
<arg>-Xuse-deprecated-legacy-compiler</arg>
<arg>-Xforce-deprecated-legacy-compiler-usage</arg>
</args>
</configuration>
</execution>
@@ -66,7 +66,7 @@
<configuration>
<multiPlatform>true</multiPlatform>
<args>
<arg>-Xuse-deprecated-legacy-compiler</arg>
<arg>-Xforce-deprecated-legacy-compiler-usage</arg>
</args>
</configuration>
</execution>