this post was submitted on 28 Jan 2025
10 points (100.0% liked)

Scala

353 readers
6 users here now

founded 2 years ago
MODERATORS
 

Video by Li Haoyi (author of Mill build tool) showcasing some advantages of mill vs maven and gradle on the jvm ecosystem.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 week ago* (last edited 1 week ago) (1 children)

I recently switched to Mill, after years with sbt - find it easier to customise as my project gets more complex. But I'm using it mainly for scala.js ( retain the structure to compile a jvm version too, but rarely using that, may switch to scala-native for probabilistic calculations and data-processing, for which I used to use jvm).

[–] smoredahl 1 points 1 day ago (1 children)

Do you use Metals? I tried mill a few months ago and liked the tool itself but couldn't get it to cooperate well with Metals.

[–] [email protected] 1 points 1 day ago (1 children)

Yes. Also I'm using Zed editor. So getting the three to work together was a puzzle, as this combo lacks documentation, but now it's working fine.
I recall it helped to force bloop re-install ( ./mill --import ivy:com.lihaoyi::mill-contrib-bloop: mill.contrib.bloop.Bloop/install ) Can also use metals doctor - but to see that needed to add to zed settings to enable metals http interface. Maybe if sbt also hangs around (if you try both) the editor resets bloop and its gets confused - you have to disable one.

[–] smoredahl 2 points 1 day ago

Okay! I teach Scala and right now we're using SBT, but it could be nice to offer students an alternative.