Problem starting Ammonite REPL using Mill repl
task
#4416
-
Hi everyone, I am trying to use the feature where I can start an Ammonite REPL that I can import the code defined in my Mill project: https://mill-build.org/mill/scalalib/module-config.html#_using_the_ammonite_repl_scala_console I am using Scala 3. My Java version is also quite recent. I recognize that unlike with
However, it looks like no matter what versions I put for
My
I did see this comment from an earlier discussion but am not sure what it means. Is this saying that the Ammonite-based Mill REPL is deprecated from Mill 0.11 onwards (and I should only use e.g. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think you should try a newer Ammonite version (or tell us exactly what versions you already tested and how). Ammonite Your mill launch script looks also old to me, although it should not be the issue here. The other discussion you mentioned was not about the |
Beta Was this translation helpful? Give feedback.
I think you should try a newer Ammonite version (or tell us exactly what versions you already tested and how). Ammonite
3.0.0-M2
is quite old. I think3.0.0-15-c7a11918
is the latest version, which should support Scala up to3.6.2
. Mill should work properly with up to Java 23 I think.Your mill launch script looks also old to me, although it should not be the issue here.
The other discussion you mentioned was not about the
.repl
command but the--repl
cli arg, which is no longer available in newer Mill versions.