-
Notifications
You must be signed in to change notification settings - Fork 5
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
Make it even easier to add library dependencies? #3
Comments
In the shell script wrapper (that is this project) we don't exactly have the binary version. With the -212, etc flags we do. We'd have to switch from latest.stable to 2.13+ as the default in order to have a default binary version that matches. But what do we do with And still that wouldn't solve the number of invocations of coursier. Because coursier launch wants to resolve scala-compiler and its transitive dependencies to run the repl main. Separately the repl main can take a classpath of dependencies.. So it doesn't really fit into coursier's CLI APIs. Perhaps the solution is a Graal native built coursier, called twice. Or perhaps this project should become a Scala project and switch from Coursier's CLI API to its library API. |
This is the alternative that we should the Graal native built solution to:
|
Given https://twitter.com/alxarchambault/status/1256195610031591424, this works:
So we can close this, it's a matter of documentation. |
This works:
But it would be nicer with less boilerplate, something like
scala -dep com.chuusai:shapeless
. We know the binary version, coursier finds (right?) the latest dependency version.Also, doing everything in one invocation of coursier would make it faster.
The text was updated successfully, but these errors were encountered: