-
Notifications
You must be signed in to change notification settings - Fork 119
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
Add support for compile-only dependencies and class path expansion (properties, globs) #2115
Conversation
63678f1
to
ba8af08
Compare
I guess the last two commits need a bit of doc… |
@@ -356,14 +396,19 @@ object Artifacts { | |||
.map(_.flatten) | |||
} | |||
|
|||
coursier.Artifacts() |
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.
?
res | ||
} | ||
|
||
private def fetchKeepFetcher( |
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.
This name is a bit confusing, I think... some scaladocs would help, maybe 🤔
It's hard to get around between fetch
, fetch0
and fetchKeepFetcher
...
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.
we might want some export
test for compile-only dependencies, for both Mill & SBT
ba8af08
to
b8165d0
Compare
So that the handling of --extra-jar can be refined in subsequent commits, while we can retain some legacy features in -classpath
So that properties and some globs are expanded. This makes things like ``` //> using jars "${spark.home}/jars/*:${spark.dist.classpath}" ``` work for example (provided users set the `spark.home` and `spark.dist.classpath` properties)
b8165d0
to
f8f3c84
Compare
@alexarchambault What's the current status of this PR? Any plans to finish it in the near future? |
I do, likely in the coming weeks, I'd say |
@alexarchambault Hi Alex, I hope you're doing well. I'm just checking to see if you have time to finish this PR soon. If you're busy, I can help to finish it, especially to add support for the compile-only dependencies. Let me know your preference. |
I've been needing these features in some of the things I'm working on, so I quickly hacked that