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

Update Gradle to v8.5 and JDK to v21 #115

Merged
merged 5 commits into from
Jan 11, 2024
Merged

Update Gradle to v8.5 and JDK to v21 #115

merged 5 commits into from
Jan 11, 2024

Conversation

NicMcPhee
Copy link
Member

@NicMcPhee NicMcPhee commented Jan 11, 2024

  • Updates Gradle to v8.5
  • Adds foojay resolver plugin, which should download the version of Java specified in build.gradle if that version isn't currently available on the system being used
  • Updates the version of Java to v21, which is the latest LTS version as of this writing.
  • Adding the foojay plugin that downloads the correct version if it's not on the system generates a bunch of warnings when you run Gradle as it looks for the "right" version of Java. This adds a note telling the students that they can safely ignore these.
  • Fixes a deprecation warning introduced by upgrading Gradle to v8.5.

Fixes #111
Fixes #113

This should download the version of Java specified in `build.gradle` if/as needed.
Version 21 is the most recent LTS as of this writing.
Adding the `foojay` plugin that downloads the correct version if it's not on the system generates a bunch of warnings when you run Gradle as it looks for the "right" version of Java. This adds a note telling the students that they can safely ignore these.

I also used the `details` HTML tag to provide more information in a "hidden" block in case they want to learn more about what's going on here.
Copy link
Member

@kklamberty kklamberty left a comment

Choose a reason for hiding this comment

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

This all worked just fine for me. Thanks for getting us up to date!

@kklamberty kklamberty merged commit 39b987a into main Jan 11, 2024
2 checks passed
@kklamberty kklamberty deleted the update-gradle branch January 11, 2024 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix Gradle warnings about deprecated features Upgrade Gradle wrapper and JDK version
2 participants