PHondogo
03/07/2020, 1:42 PM-Xir-produce-js
I got a lot of compilation error from jsTest that it can't find symbols that located in jsMain.
Without setting this flag all compiles well.
Please advise me how can i compile my Kotlin code to js using IR?
P.S. it is the same for browser{} and nodejs{}Svyatoslav Kuzmich [JB]
03/07/2020, 6:34 PM-Xir-produce-klib
in your main module. Note that JS IR in 1.3.* is in pre-alpha state and these compiler flags are temporary. 1.4.0 Gradle plugin will have proper support for JS IR.PHondogo
03/08/2020, 10:44 PMSvyatoslav Kuzmich [JB]
03/08/2020, 11:18 PM-*Xir*-*produce*-*klib*-*dir*
PHondogo
03/08/2020, 11:32 PMSvyatoslav Kuzmich [JB]
03/08/2020, 11:59 PMdependencies {
implementation(kotlin("stdlib-js"))
}
PHondogo
03/09/2020, 7:21 AMval jsMain by getting {
dependencies {
implementation(kotlin("stdlib-js"))
}
}
val jsTest by getting {
dependencies {
implementation(kotlin("test-js"))
}
}
PHondogo
03/11/2020, 7:59 AMSvyatoslav Kuzmich [JB]
03/12/2020, 8:44 AMPHondogo
03/12/2020, 6:46 PM