Skip to content

chore(deps): Update Gradle to 9.7 and migrate dependency management with locking - #243

Merged
thelooter merged 4 commits into
mainfrom
feat/build-improvement
Aug 15, 2026
Merged

chore(deps): Update Gradle to 9.7 and migrate dependency management with locking#243
thelooter merged 4 commits into
mainfrom
feat/build-improvement

Conversation

@thelooter

Copy link
Copy Markdown
Owner

No description provided.

@sonarqubecloud

sonarqubecloud Bot commented May 5, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the project’s Gradle build infrastructure to Gradle 9.5, migrating dependency coordinates into a version catalog and enabling dependency locking to improve build reproducibility.

Changes:

  • Upgrade Gradle Wrapper to 9.5.0 and refresh wrapper scripts.
  • Introduce gradle/libs.versions.toml and migrate build dependencies/plugins to version-catalog aliases.
  • Enable dependency locking (adding lockfiles) and refresh CI workflows to newer pinned GitHub Action revisions.

Reviewed changes

Copilot reviewed 11 out of 13 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
settings.gradle.kts Adds plugin/dependency repository management and configures centralized repositories.
settings-gradle.lockfile Adds settings-level dependency lockfile (generated).
gradlew.bat Updates Windows wrapper script logic for Gradle 9.5 wrapper execution.
gradlew Updates POSIX wrapper script to the newer -jar wrapper invocation.
gradle/wrapper/gradle-wrapper.properties Bumps wrapper distribution to Gradle 9.5.0 and adds SHA-256 checksum.
gradle/libs.versions.toml Introduces a version catalog for libraries/plugins used by the build.
gradle.properties Enables caching/config-cache and adds build-wide Gradle properties.
gradle.lockfile Adds project dependency lockfile (generated).
build.gradle.kts Migrates to version-catalog aliases, enables dependency locking, and adjusts packaging/publishing/test+JaCoCo config.
.github/workflows/release.yml Pins changelog action to a commit SHA.
.github/workflows/gradle.yml Updates CI actions (pinned SHAs) and switches Gradle caching to setup-gradle enhanced caching.
.github/workflows/gradle-publish.yml Enables wrapper validation, updates/pins actions, and uses --no-daemon for publishing.
Comments suppressed due to low confidence (1)

gradle.properties:6

  • dependencyVerification.enabled=false disables Gradle dependency verification for everyone by default, which weakens supply-chain protection and makes it easier for compromised/malicious artifacts to go unnoticed. Prefer keeping verification enabled and checking in the verification metadata (or disabling it only in a constrained CI profile if absolutely necessary).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gradle.properties
Comment thread gradlew.bat
Comment thread gradlew.bat
@codecov

codecov Bot commented May 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.25%. Comparing base (ac8af33) to head (c295d30).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #243      +/-   ##
============================================
- Coverage     72.41%   72.25%   -0.16%     
  Complexity       59       59              
============================================
  Files             6        6              
  Lines           174      173       -1     
  Branches         27       27              
============================================
- Hits            126      125       -1     
  Misses           27       27              
  Partials         21       21              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…updates

Rolls up the open renovate PRs (develocity, classgraph, jacoco, kotlin-stdlib,
commons-lang3, jetbrains-annotations, kotlinx-coroutines) plus a Shadow plugin
bump to 9.6.1, all verified against a full clean build + test run.

Also adds explicit testImplementation(paper-api)/testRuntimeOnly(junit-jupiter-engine)
and separates the jar/shadowJar output filenames, needed for a future Paper 26.2
upgrade. That upgrade itself isn't included here: mockbukkit-v26.2 has a
classloading bug that breaks MockBukkit.load(Class) for every test
(see MockBukkit/MockBukkit#1628), so paper-api/mockbukkit stay pinned to their
current working versions until that's fixed upstream.
@sonarqubecloud

Copy link
Copy Markdown

@thelooter thelooter changed the title chore(deps): Update Gradle to 9.5 and migrate dependency management with locking chore(deps): Update Gradle to 9.7 and migrate dependency management with locking Aug 15, 2026
@thelooter
thelooter merged commit 59ed415 into main Aug 15, 2026
5 checks passed
@thelooter
thelooter deleted the feat/build-improvement branch August 15, 2026 20:12
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