Closed tovbinm closed 3 years ago
presumably an out of date sbt launch script
The script is sbt-extras, which is installed like this
https://github.com/olafurpg/setup-scala/blob/05b368ddd620abc33fd3412cb2b33b54868a78b5/src/install.ts#L109
It's probably worth changing that to use cs install sbt
instead 🤔
I don't trust cs install sbt
. I'm optimistic it will eventually be suitable, but IMO it currently isn't, as per coursier/coursier#1957, coursier/coursier#1696, coursier/coursier#1755, coursier/coursier#1867
What is the recommended alternative to sbt-extras?
What is the recommended alternative to sbt-extras?
the sbt launch script published by the sbt maintainers and included in the sbt downloads
@eed3si9n the recommended way to obtain that is by extracting it from e.g. https://github.com/sbt/sbt/releases/download/v1.5.0/sbt-1.5.0.tgz , yes?
(I think sometimes people go for sbt-extras just because you can easily grab the launch script by itself)
@SethTisue I think so, or SDKMAN distribution, which we garden.
I've been actually thinking the official should have an option to work in one-file Bash script way.
I also ran into this problem, re-install solves the problem:
cs uninstall sbt
cs install sbt
I also ran into this problem, re-install solves the problem:
cs uninstall sbt cs install sbt
Esto funciono para mi. This worked for me.
I've been actually thinking the official should have an option to work in one-file Bash script way.
Note that Eugene has now done this; the official launch script is available from e.g. https://raw.githubusercontent.com/sbt/sbt/v1.5.2/sbt
Thank you for reporting! Closing this since it's not clear how to address this issue in this project. Please reopen if I'm misunderstanding
Hello,
We just upgraded to sbt 1.5.0 and got the following error:
Are there any recommendations on how to overcome this issue?