mcpiroman
03/03/2023, 10:13 PM:compiler:tests-common-new:test
on current kotlin master, but I get
> Task :kotlin-stdlib-js:compileKotlin2Js FAILED
e: Old Kotlin/JS compiler is no longer supported. Please migrate to the new JS IR backend
Secondly, as this seems to involve JS part, what if I only want to test JVM-IR backend? JS- tasks should not be required for this after all.dmitriy.novozhilov
03/04/2023, 10:56 AMgdw clean dist --no-build-cache
)
Also I suggest to rebase on latest master and kill all kotlin daemons before running gradlemcpiroman
03/04/2023, 12:34 PMdist
task simply does less then assemble
🤔dmitriy.novozhilov
03/04/2023, 12:44 PMonly half an hour, instead of 3hHolly-Molly, for me clean build takes 5-7 minutes without K2 (if Native modules are disabled) Actually, I have no idea what
assemble
does, we don't use this task in production
dist
creates executable distributive of kotlinc
Also you can use install/publish
tasks fro publishing maven artifacts (first one puts them into ~/.m2
and second one into ./build/repo
Does it maybe use K2 by default?K2 compilation is disabled by default, but you can turn it on by adding
kotlin.build.useFir=true
into local.properties