-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Upgrade to Gradle 9.2.0 #4171
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
Upgrade to Gradle 9.2.0 #4171
Conversation
|
Make sure to upgrade the gradle wrapper itself too once upgraded to gradle 9 |
Co-authored-by: andimarek <1706744+andimarek@users.noreply.github.com>
Co-authored-by: andimarek <1706744+andimarek@users.noreply.github.com>
Test Results 326 files 326 suites 5m 4s ⏱️ Results for commit 10e3596. ♻️ This comment has been updated with latest results. |
|
@copilot Make sure to update the gradle wrapper itself too |
Co-authored-by: andimarek <1706744+andimarek@users.noreply.github.com>
Done in commit 10e3596. Updated gradle-wrapper.jar, gradlew, and gradlew.bat using
Done in commit 10e3596. The gradle wrapper jar and scripts have been updated to 9.2.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR upgrades graphql-java from Gradle 8.13 to Gradle 9.2.0, addressing compatibility issues and deprecation warnings introduced in the newer Gradle version.
Key changes:
- Updated Gradle wrapper and bnd plugin to versions compatible with Gradle 9
- Migrated from deprecated Convention API to BundleTaskExtension for OSGi bundle configuration
- Fixed syntax and API usage patterns deprecated in Gradle 9
Reviewed Changes
Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| gradle/wrapper/gradle-wrapper.properties | Updated distribution URL to Gradle 9.2.0 |
| gradle/wrapper/gradle-wrapper.jar | Updated wrapper JAR binary to Gradle 9.2.0 |
| gradlew | Updated wrapper script with new invocation syntax for Gradle 9 |
| gradlew.bat | Updated Windows wrapper script with new invocation syntax for Gradle 9 |
| settings.gradle | Fixed maven repository URL syntax to use assignment operator |
| build.gradle | Updated bnd plugin version, migrated deprecated Convention API, added JUnit Platform launcher dependency, fixed deprecated property assignments, and added explicit task dependencies |
|
Why is JUnit 4 still needed if 5 is already required? |
Upgrading graphql-java from Gradle 8.13 to Gradle 9.2.0
Plan
Changes Made
./gradlew wrapper --gradle-version=9.2.0Notes
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.