News for hackers. Stuff that matters.
Re:Kotlin for JavaScript by lolinder on Sunday March 27, 2022 @01:56AM (#30818051)
Maven to Gradle is a huge improvement, but I think a lot of people here are coming from the JS world. Package.json is incredibly simple compared to Gradle.
Re:Kotlin for JavaScript by matsemann on Sunday March 27, 2022 @06:48AM (#30819266)
Disagree, maven to gradle is a downgrade. Yes, xml is boring, but it's still incredible simple, almost just a verbose package.json. And it's convention over configuration, if you do stuff like everyone else, it just works.

Gradle however, is a dsl in a language almost no java devs use. All gradle files are different, so copying an example from somewhere else probably won't work in your context etc.

Re:Kotlin for JavaScript by foverzar on Sunday March 27, 2022 @09:23AM (#30820027)
> Gradle however, is a dsl in a language almost no java devs use

Gradle with Groovy sometimes gets kinda hard to comprehend

Gradle with Kotlin is entirely different experience, largely due to proper typing.

Re:Kotlin for JavaScript by kaba0 on Sunday March 27, 2022 @05:08AM (#30818846)
Is it? Where does my special css file go, what option is valid in this context, do I need babel, or this other 1000 package? It does tell you something that literally every framework will generate you a file, while you can easily write your build script by hand for even large java projects.