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

Problem: Gradle Wrapper is not updated by zproject for Java builds #743

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

benjdero
Copy link
Member

Solution: Update it manually

@keent keent merged commit 0fdb8c4 into zeromq:master Sep 12, 2024
49 of 51 checks passed
@sphaero
Copy link
Contributor

sphaero commented Sep 12, 2024

If this is a manual change beware that if the file is written by zproject the change will be undone next time we regenerate from zproject.

@benjdero
Copy link
Member Author

None of those files are managed by zproject.

The only thing zproject do is write this line in bindings\jni\build.gradle:

wrapper.gradleVersion = '8.9'

Which seems to do little to nothing.

The only way to update the Gradle Wrapper is to cd into bindings\jni and use the cmd ./gradlew wrapper --gradle-version=8.9 (8.9 being the desired version to update to) and let the Gradle Wrapper update itself.

Which is what I did here.

@sphaero
Copy link
Contributor

sphaero commented Sep 12, 2024

Ok nice. I have no idea. Hardly ever work with java 😁

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