-
Notifications
You must be signed in to change notification settings - Fork 50
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
Fix coursier/coursier#1957: Always use the original sbt launcher. #119
Conversation
This uses the new features merged in coursier: * The ability to install from the contents of a .zip file * The `prebuilt` launcher type to ensure that we always install sbt and sbtn using their official distribution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sjrd! Is this PR still a draft?
apps/resources/sbt.json
Outdated
"org.scala-sbt:sbt-launch:latest.stable", | ||
"io.get-coursier.sbt:sbt-runner:latest.stable" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should keep those. These can be helpful when running cs launch sbt
, which doesn't use prebuilt binaries for now.
apps/resources/sbt.json
Outdated
"properties": { | ||
"jline.shutdownhook": "false", | ||
"jna.nosys": "true" | ||
}, | ||
"javaOptions": ["-Xms512m", "-Xss2m"], | ||
"jvmOptionFile": ".jvmopts" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above. We should keep those. These should be ignored by cs install
anyway, when it's using the prebuilt launcher.
It's still a draft in the sense that, if it is merged now, all default installs of |
This uses the new features merged in coursier:
prebuilt
launcher typeto ensure that we always install sbt and sbtn using their official distribution.