Skip to content

Conversation

@BrennanConroy
Copy link
Member

No description provided.

@github-actions github-actions bot added the area-signalr Includes: SignalR clients and servers label Jan 7, 2026
implementation project(':core')
implementation 'org.msgpack:msgpack-core:0.8.20'
implementation 'org.msgpack:jackson-dataformat-msgpack:0.8.20'
implementation 'org.msgpack:msgpack-core:0.9.11'
Copy link
Member Author

Choose a reason for hiding this comment

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

Not needed, but saw a warning I thought would be fixed by an update. Updating is a good idea regardless though.

@BrennanConroy BrennanConroy marked this pull request as ready for review January 7, 2026 23:40
Copilot AI review requested due to automatic review settings January 7, 2026 23:40
Copy link
Contributor

Copilot AI left a 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 updates the Gradle build system for the SignalR Java client, including a major version upgrade of the Gradle wrapper and modernization of build script syntax.

Key changes:

  • Upgrades Gradle wrapper from version 8.10 to 9.2.1
  • Updates msgpack dependencies from 0.8.20 to 0.9.11
  • Modernizes Gradle syntax using explicit assignment operators (=) for group, artifactId, version, and url properties
  • Adds junit-platform-launcher dependency for test runtime
  • Updates gradlew and gradlew.bat scripts to match new Gradle version

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
gradle-wrapper.properties Updates Gradle distribution URL to 9.2.1, adds validation settings
gradle-wrapper.jar Binary update for new Gradle wrapper version
gradlew Updated Unix shell script with POSIX compliance improvements
gradlew.bat Updated Windows batch script with improved error handling
build.gradle Modernizes syntax with explicit assignment operators
core/build.gradle Modernizes group and artifactId assignment syntax
messagepack/build.gradle Updates msgpack dependencies and modernizes syntax
test/build.gradle Adds junit-platform-launcher dependency

dependencies {
implementation 'org.junit.jupiter:junit-jupiter-params:5.11.2'
testImplementation 'org.junit.jupiter:junit-jupiter:5.11.2'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

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

The junit-platform-launcher dependency is missing an explicit version number. While Gradle may resolve this transitively through other JUnit dependencies, it's a best practice to specify explicit versions for all dependencies to ensure reproducible builds and avoid potential version conflicts. Consider adding an explicit version, e.g., 'org.junit.platform:junit-platform-launcher:1.11.2' to match the other JUnit dependencies.

Suggested change
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.2'

Copilot uses AI. Check for mistakes.
Copy link
Member

Choose a reason for hiding this comment

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

@BrennanConroy this will be important after #64962 goes in since ingesting new package versions into the AzDO feed requires auth

distributionPath=wrapper/dists
distributionSha256Sum=5b9c5eb3f9fc2c94abaea57d90bd78747ca117ddbbf96c859d3741181a12bf2a
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
distributionSha256Sum=72f44c9f8ebcb1af43838f45ee5c4aa9c5444898b3468ab3f4af7b6076c5bc3f
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

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

The SHA256 checksum has been updated for the Gradle distribution. Please verify that this checksum (72f44c9f8ebcb1af43838f45ee5c4aa9c5444898b3468ab3f4af7b6076c5bc3f) corresponds to the actual Gradle 9.2.1 distribution file. If Gradle 9.2.1 does not exist, this checksum is invalid and could pose a security risk by potentially downloading an unintended or malicious file.

Copilot uses AI. Check for mistakes.
@BrennanConroy BrennanConroy requested a review from a team as a code owner January 8, 2026 02:00
@ericstj
Copy link
Member

ericstj commented Jan 8, 2026

@ViktorHofer
Copy link
Member

ViktorHofer commented Jan 8, 2026

I'm a novice when it comes to java but given that we set sourceCompatibility to 1.9 here, I wonder if that support statement is already wrong for .NET 10 and should say Java 9?

@akoeplinger
Copy link
Member

yeah it was bumped to 1.9 in https://github.com/dotnet/aspnetcore/pull/59788/changes#r1909555192

@ericstj
Copy link
Member

ericstj commented Jan 8, 2026

The part that made me question was that gradle statement about the 9.x runtime only being compatible with Java 25. I guess that might not matter if it's only a build dependency and not a runtime dependency.

@wtgodbe
Copy link
Member

wtgodbe commented Jan 8, 2026

/backport to release/10.0

@wtgodbe wtgodbe enabled auto-merge (squash) January 8, 2026 18:46
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

Started backporting to release/10.0 (link to workflow run)

@wtgodbe
Copy link
Member

wtgodbe commented Jan 8, 2026

/backport to release/9.0

@wtgodbe
Copy link
Member

wtgodbe commented Jan 8, 2026

/backport to release/8.0

@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

Started backporting to release/9.0 (link to workflow run)

@wtgodbe wtgodbe merged commit 6b29463 into main Jan 8, 2026
25 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

Started backporting to release/8.0 (link to workflow run)

@wtgodbe wtgodbe deleted the brecon/gradle branch January 8, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-signalr Includes: SignalR clients and servers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants