<https://kotlinlang.org/docs/reference/javascript-...
# javascript
j
got a maven snippet ?
n
Kotlin JS DCE only works with Gradle (for the time being). Since getting the generated file size down is a high priority for you then going with Gradle wouldn't be a hassle. Most high profile Kotlin projects use Gradle anyway, and new Kotlin features are supported on Gradle first before making their way eventually to Maven.
j
i think this is a codesmell, i can't just mvn exec a kotlin main because of tight coupling in the build tool of the author's choice.
in the given scenario, the apples to apples test is a maven gwt project being ported to teavm and kotlinjs
there is a maven-gradle-plugin im trying out, because mvn exec is just not a clear documented option at this time. maven and gradle follow two different build philosophies, but at least im able to call mvn exec on any class on any jarfile url and get the benefit of ad-hoc utilities