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

improvement: Use dependencyModule for resolving sources #6213

Merged
merged 1 commit into from Mar 18, 2024

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Mar 8, 2024

Previously, we would assume that the source jar is in the same directory as the normal jar. Now we use dependencyModules for that and only fallback to the previous logic if we can't find the jar in dependency modules.

This extracts part of the lazy classpath PR

Fixes #6182

@tgodzik tgodzik force-pushed the dependency-modules branch 2 times, most recently from a77686b to de78cd7 Compare March 11, 2024 15:38
@tgodzik tgodzik force-pushed the dependency-modules branch 10 times, most recently from 548ffd7 to 6ff2a72 Compare March 14, 2024 15:25
@tgodzik
Copy link
Contributor Author

tgodzik commented Mar 14, 2024

Looks to be working, I had an issue with letter cases for windows jar paths.

@tgodzik tgodzik marked this pull request as ready for review March 14, 2024 16:51
Previously, we would assume that the source jar is in the same directory as the normal jar. Now we use dependencyModules for that and only fallback to the previous logic if we can't find the jar in dependency modules.

This extracts part of the lazy classpath PR

Fixes scalameta#6182
@tgodzik tgodzik merged commit acae2b9 into scalameta:main Mar 18, 2024
25 of 26 checks passed
@tgodzik tgodzik deleted the dependency-modules branch March 18, 2024 20:44
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.

VSCode "Reveal Active File" for dependencies no longer works for scala gradle projects
2 participants