Skip to content
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 JavaModule.artifactTypes #3703

Merged
merged 5 commits into from
Oct 10, 2024
Merged

Conversation

alexarchambault
Copy link
Collaborator

Allowing users to ask for more artifact types to be fetched and put in the classpath

@alexarchambault
Copy link
Collaborator Author

Might break bin compat :/

Allowing users to ask for more artifact types to be fetched and put in
the classpath
Copy link
Member

@lefou lefou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't need to break bin-compat as long as you provide a bin-compat overload without defaults delegating to the newest version. For that reason, the new parameter artifactTypes needs to come last.

@alexarchambault alexarchambault marked this pull request as ready for review October 10, 2024 14:09
@lihaoyi lihaoyi merged commit 80d1640 into com-lihaoyi:main Oct 10, 2024
24 checks passed
@alexarchambault alexarchambault deleted the artifact-types branch October 10, 2024 14:53
lihaoyi pushed a commit that referenced this pull request Oct 11, 2024
Follow-up of #3703 that added
`JavaModule.artifactTypes`. `JavaModule` performs two dependency
resolutions: one for `compileClasspath`, the other for `runClasspath`.
#3703 used `artifactTypes` in
the `runClasspath` one, but not in the `compileClasspath` one. The PR
here fixes that, and adds unit tests for both paths.

This addresses the issues found around
#3696 (comment).
@lefou lefou added this to the 0.12.0 milestone Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants