updating to the new MPP plugin/Kotlin 1.4.21 is such a pain point, I really hoped it would be smoother 😞 I hope someone can answer me the following questions
1. ✔️ Is it considered normal that a
gr build
which fails due to failing test succeeds when I re-run it (without changing anything) -> jvmTest is skipped
as it is up-to-date
(allTest is executed but does nothing besides generating a html report). How can I change this behaviour? => seems like it:
https://blog.gradle.org/stop-rerunning-tests
2. ✔️How can I disable the
Please initialize at least one Kotlin target in...
check? It was not there in 1.3.72 but is in 1.4.21. I have a root project which does not contain any source but several MPP sub-projects
3. ✔️ After the update to 1.4.21 I cannot longer run tests (via gradle), I get
The root cause java.lang.UnsupportedOperationException was thrown at: org.jetbrains.kotlin.load.kotlin.TypeSignatureMappingKt.mapType(typeSignatureMapping.kt:99)
during
compileTestKotlinJvm
is this a known problem?
4. ✔️ not really a problem as there is an easy workaround but out of curiosity why do
js
targets need the extra definition of the dependency to kotlin-stdlib-js?