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

  • Ben Matthews
    link
    fedilink
    English
    2
    edit-2
    9 days ago

    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).

    • @[email protected]
      link
      fedilink
      English
      11 day ago

      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.

      • Ben Matthews
        link
        fedilink
        English
        11 day ago

        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.

        • @[email protected]
          link
          fedilink
          English
          11 day ago

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