-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't add local or git dependencies #35
Comments
Looks like this is an issue with the Scala version. 2.12.16 (used in this repo) produces the error, 2.11.12 (used in the dependency template repo) doesn't. It looks like VexRiscv uses 2.11.12 so that's where the mismatch is. |
Hi, yes you are right, you need to downgrade to 2.11.12 :) |
Is there any chance that the VexRiscv Scala version could be upgraded to 2.12 or higher? It seems like 2.11 has issues with the latest version of Metals (scalameta/metals#5561), so autocomplete no longer works. |
Did you tried updating https://github.com/SpinalHDL/VexRiscv/blob/master/build.sbt#L7 to scala 2.12 ? Then, could try a multi version build.sbt, but seems that it often break people stuff easily XD |
I am attempting to copy the changes from SpinalTemplateSbtDependencies to my
build.sbt
in a project based on SpinalTemplateSbt. When I compile, I get the following error:I'm able to reproduce this on a fresh project created from this template with the following changes:
Steps:
git clone https://github.com/SpinalHDL/SpinalTemplateSbt
cd SpinalTemplateSbt
sbt compile
I've also tried pointing it at a local copy of VexRiscv and got the same error.
I'm not really sure if this is an issue with the template, VexRiscv, sbt, or something else. I can move this somewhere else if necessary.
The text was updated successfully, but these errors were encountered: