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

Relativize jar paths in jdeps and rework BazelRunFiles to return relative paths #1120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arunkumar9t2
Copy link
Contributor

Fixes #941

We found that certain Kotlin versions, 1.8.10 for example can produce absolute paths in jdeps output. Although this is fixed in 1.8.20 (not sure which commit caused this on Kotlin side), this PR ensures jdeps jars always use relative path.

  • Added test to assert all jar paths in jdeps are relative
  • Updated test builder to use relative paths for assertions

@arunkumar9t2
Copy link
Contributor Author

Seems RBE is failing, will revisit.

@Bencodes
Copy link
Collaborator

@arunkumar9t2 PR looks good to me as long as you can take care of the RBE case.

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.

JDeps outputs for kt_jvm_library targets include absolute paths
2 participants