Skip to content

Conversation

Copy link

Copilot AI commented Nov 16, 2025

Upgrades Gradle wrapper from 8.3 to 9.0.0 and resolves compatibility issues.

Changes

  • Gradle wrapper: Updated to 9.0.0 with enhanced security properties (validateDistributionUrl, networkTimeout)
  • Test configuration: Added useJUnitPlatform() to enable Spock test discovery (required in Gradle 9.0+)
  • Publishing syntax: Fixed deprecated property assignment in maven(MavenPublication) block
// Before
groupId group
artifactId 'graphql-java-extended-validation'

// After  
groupId = group
artifactId = 'graphql-java-extended-validation'

Runtime Requirements

Gradle 9.0 requires JVM 17+ to run the daemon. Project continues to compile for Java 11 via toolchain configuration. CI workflows use JDK 11 for compilation and auto-detect JDK 17 for Gradle execution.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • downloads.gradle.org
    • Triggering command: wget -q --spider REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Upgrade the project to use the latest Gradle version. This change involves updating the Gradle wrapper to the newest available version and ensuring compatibility with all dependencies and plugins. Specifically:

  1. Upgrade the Gradle wrapper version to the latest stable release.
  2. Test the build process to ensure all dependencies are compatible with the latest Gradle version.
  3. Address any deprecation warnings and update configurations for any plugins or dependencies as necessary, aligning with Gradle's current guidelines.
  4. Validate that tests and build processes work seamlessly with the new setup.

This pull request was created as a result of the following prompt from Copilot chat.

Upgrade the project to use the latest Gradle version. This change involves updating the Gradle wrapper to the newest available version and ensuring compatibility with all dependencies and plugins. Specifically:

  1. Upgrade the Gradle wrapper version to the latest stable release.
  2. Test the build process to ensure all dependencies are compatible with the latest Gradle version.
  3. Address any deprecation warnings and update configurations for any plugins or dependencies as necessary, aligning with Gradle's current guidelines.
  4. Validate that tests and build processes work seamlessly with the new setup.

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits November 16, 2025 04:52
Co-authored-by: andimarek <1706744+andimarek@users.noreply.github.com>
Co-authored-by: andimarek <1706744+andimarek@users.noreply.github.com>
Copilot AI changed the title [WIP] Upgrade project to use the latest Gradle version Upgrade Gradle to 9.0.0 Nov 16, 2025
Copilot AI requested a review from andimarek November 16, 2025 05:02
Copilot finished work on behalf of andimarek November 16, 2025 05:02
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.

2 participants