Which Ammonite version, and combining with other com.lihaoyi dependencies #1382
Unanswered
bobismijnnaam
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Looks like your version of
You should update to |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm a bit lost. I want to use the ammonite library in my project, as well as some other com.lihaoyi libraries (most prominently: cask, mainargs, os-lib). But I'm running into some strange problems whenever I include ammonite as a dependency. One thing that goes wrong sometimes is that it doesn't seem jive with my scala version, and I get very arcane type errors (this happens when I use scala 3.0.0, with a clean build):
Then I increase the scala version to say 3.3.0, increasing the ammonite version in the process, and then a dependency conflict occurs between e.g. cask and ammonite, about a transitive dependency (usually geny, given the various times I've run into this now, with various permutations of libraries) being included with different version. E.g., using this sbt code:
I get the following sbt when running
sbt compile
:What is the general way to have a project with multiple com.lihaoyi dependencies, given that I want to be on a recent scala version, preferably with recent/stable versions of those libraries? Would this problem be resolved if I used mill instead? Or can I maybe tell sbt to use this or that version, hopefully without breaking the libraries in turn?
Beta Was this translation helpful? Give feedback.
All reactions