altavir
11/18/2022, 6:43 AMjs
block in gradle after js(IR)
gives error:
==========
This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
Please migrate the project to the new IR-based compiler (<https://kotl.in/jsir>) by adding:
- kotlin.js.compiler=ir to your gradle.properties file.
- js(IR) { ... } to your build file.
You can continue to use the deprecated legacy compiler in the current version of the toolchain by specifying it explicitly.
==========
Before it automatically used first provided compiler. I think since LEGACY is deprecated, js
should mean IR by default.altavir
11/18/2022, 6:47 AMIvan Kubyshkin [JetBrains]
11/18/2022, 8:10 AMIlya Goncharov [JB]
11/18/2022, 11:39 AMkotlin("js")
plugin or with kotlin("multiplatform")
?altavir
11/18/2022, 11:40 AMIlya Goncharov [JB]
11/18/2022, 12:13 PMIlya Goncharov [JB]
11/18/2022, 12:13 PMaltavir
11/18/2022, 12:14 PMaltavir
11/18/2022, 12:15 PMIlya Goncharov [JB]
11/18/2022, 12:17 PMaltavir
11/18/2022, 12:20 PMlouiscad
11/18/2022, 12:23 PMIlya Goncharov [JB]
11/24/2022, 11:18 AM