News for hackers. Stuff that matters.
Re:Kotlin for JavaScript by root_axis on Sunday March 27, 2022 @01:51AM (#30818033)
Nah. Gradle has its advantages but it's way more complex than building a node project. The Gradle DSL is utterly incomprehensible to anyone that isn't a seasoned Java dev. Honestly, I struggle to think of a language with a more complex build system than Gradle, besides building cpp apps.
Re:Kotlin for JavaScript by ohgodplsno on Sunday March 27, 2022 @03:46AM (#30818487)
Seasoned Java/Kotlin dev:

Nah, Gradle is a fucking mess no matter what. If you don't absolutely understand the gradle life cycle, how to avoid task configuration, keeping everything lazy, avoid cross configuration, understand that buildSrc is shit, gradle will be hell.

Re:Kotlin for JavaScript by matsemann on Sunday March 27, 2022 @06:44AM (#30819246)
Agreed. Maven is boring, but for most stuff it just works. Hard to customize, but before doing that, ask yourself why you're doing something different than millions of other projects. Go with the defaults and things will work.

Gradle feels to me like trying to set up a webpack project. Loads of magic configuration no one dares to touch after it happens to somewhat work correctly.

Re:Kotlin for JavaScript by Aeolun on Sunday March 27, 2022 @03:03AM (#30818342)
I dunno, I understand building cpp apps much better than building a Java one. And I have basically zero experience with both.
Re:Kotlin for JavaScript by weego on Sunday March 27, 2022 @06:44AM (#30819245)
SBT is in another tier of incomprehensible stupidity
Re:Kotlin for JavaScript by vips7L on Sunday March 27, 2022 @07:33AM (#30819454)
Nothing is a bigger time killer than sbt and scalac!
Re:Kotlin for JavaScript by kaba0 on Sunday March 27, 2022 @05:00AM (#30818810)
I’m not a big fan of kotlin, but gradle does have a kotlin dsl as well which is in my opinion much more readable and explicit.
Re:Kotlin for JavaScript by nsonha on Sunday March 27, 2022 @08:21AM (#30819687)
you can write gradle in kotlin script, the same language as your code if it's kotlin.