Re:What's wrong with the default build tool for Scala
by cryptos on Monday November 20, 2017 @05:53AM
(#15739075)
Why does the Scala community needs its own build tool? Why not just use Gradle? Or if something is missing, adding this to Gradle and then using Gradle.
[ Parent
| on HN ]
Re:What's wrong with the default build tool for Scala
by dtech on Monday November 20, 2017 @07:21AM
(#15739398)
You can build Scala projects with Ant, Maven and Gradle, but for some reason, a language community often gravitates toward the language-specific tools.
Re:What's wrong with the default build tool for Scala
by RX14 on Monday November 20, 2017 @07:41AM
(#15739482)
Considering gradle is heavilly used in Java, kotlin, (and groovy) while it's DSL is in groovy (while the back end is largely Java these days), that's not always true.
Re:What's wrong with the default build tool for Scala
by richdougherty on Monday November 20, 2017 @01:26PM
(#15741947)
I don't think it was a conscious decision to not support Gradle, etc, it's just that sbt had a few highly motivated maintainers. This meant that sbt became the easiest tool to use when starting a Scala project.
sbt's incremental compilation was also very important for a language with long compile times and still-developing IDE support.
It would be great if Scala had great Gradle support. Nowadays some large Scala users maintain Gradle support for Scala to a good level.
Re:What's wrong with the default build tool for Scala
by jurip on Monday November 20, 2017 @07:51AM
(#15739525)
It's possible that back in 2008 Gradle did not seem like an obvious choice (assuming it is now; I have no experience with it.) And after a community has effectively standardised on a tool, switching to something else isn't done lightly.
Re:What's wrong with the default build tool for Scala
by cryptos on Monday November 20, 2017 @10:30AM
(#15740557)
But if SBT is at a point where a (more or less) complete rewrite is discussed, it is probably the time to think about Gradle a second time.
Even the new Kotlin DSL should look familiar to Scala devs.
Re:What's wrong with the default build tool for Scala
by aphexairlines on Monday November 20, 2017 @11:10AM
(#15740923)
The Scala community provides Gradle plugins for scala itself (through zinc), scoverage, scalastyle, scalafmt, wartremover, scala protobuf integration, and scala-aware intellij project generation from your build.gradle.
It works well.