rules_kotlin
rules_kotlin copied to clipboard
Pass through kotlinc options to JS compile
Fixes #1016
I haven't yet considered what options may need to be e.g. stripped out before sending along. But if there are other glaring holes in this, or reasons to avoid this kind of approach altogether, LMK.
@pswaminathan it fails on CI: https://buildkite.com/bazel/rules-kotlin-kotlin/builds/3519#018a1b24-c95a-4722-bc75-59b655a3e724
@pswaminathan are you able to look into these failures?
Yep! Will take a look.
I know the tests don't have any JS examples running, so those aren't representative of this working. But the example fail-case I gave in the linked issue does work with this build. I can add that under e.g. examples/kmp/trivial
here as an stdlib-only working test case for the JS rules. WDYT?