Video by Li Haoyi (author of Mill build tool) showcasing some advantages of mill vs maven and gradle on the jvm ecosystem.
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).
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.
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.Okay! I teach Scala and right now we’re using SBT, but it could be nice to offer students an alternative.