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

Compare bin subdirs of java home on root mismatch [fix 187] #240

Conversation

Rattenkrieg
Copy link
Contributor

Fixes #187
We can take it further and resolve and compare other known java dirs ie lib, jre. However I believe bin is sufficient since this feature mostly cares about build reproducibility.
Sadly I don't know a good way to test it since this feature is completely environment dependent, I'm happy to add such tests if anybody have an idea how to do it though.

@Rattenkrieg Rattenkrieg changed the title Compare only bin subdirs of java home [fix 187] Compar bin subdirs of java home on root mismatch [fix 187] Jan 4, 2023
@Rattenkrieg Rattenkrieg changed the title Compar bin subdirs of java home on root mismatch [fix 187] Compare bin subdirs of java home on root mismatch [fix 187] Jan 4, 2023
@runningcode
Copy link
Owner

Thank you for the contribution!

@runningcode
Copy link
Owner

Sorry, I reverted this here: #241

It doesn't work on my machine, see the revert for more details.

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.

Gradle internally infers inexact JAVA_HOME, leading to the "Gradle is not using JAVA_HOME" error.
2 participants