Skip to content

Chore/upgrade spotless to 8.2.1#285

Merged
curfew-marathon merged 3 commits intomainfrom
chore/upgrade-spotless-to-8.2.1
Feb 12, 2026
Merged

Chore/upgrade spotless to 8.2.1#285
curfew-marathon merged 3 commits intomainfrom
chore/upgrade-spotless-to-8.2.1

Conversation

@curfew-marathon
Copy link
Contributor

@curfew-marathon curfew-marathon commented Feb 12, 2026

chore: upgrade Spotless plugin from 7.2.1 to 8.2.1

Updates the Spotless code formatting plugin to the latest version. This upgrade provides better Gradle compatibility and prepares the codebase for future Java version support.

Summary by CodeRabbit

  • Chores
    • Updated minimum Java version requirement to 17.
    • Updated build dependencies and tooling.

…equired version

- Updated build.gradle to set sourceCompatibility and targetCompatibility to Java 17
- Updated GitHub Actions workflow to test on Java 17 and 21 only
- Removed Java 11 from CI/CD test matrix
- Updated all workflow jobs to use Java 17 as the base version
@curfew-marathon curfew-marathon requested a review from a team as a code owner February 12, 2026 17:04
Copilot AI review requested due to automatic review settings February 12, 2026 17:04
@dosubot
Copy link

dosubot bot commented Feb 12, 2026

Related Documentation

Checked 8 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 12, 2026

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

This PR removes Java 11 from the CI matrix, making Java 17 the minimum supported version, and upgrades the Spotless Gradle plugin from 7.2.1 to 8.2.1 with corresponding Java compatibility updates in the build configuration.

Changes

Cohort / File(s) Summary
CI/Workflow Configuration
.github/workflows/main.yaml
Narrows Java matrix from [11, 17, 21] to [17, 21]; updates JDK setup to use java-version 17 instead of 11 across test and publish jobs.
Build Configuration
build.gradle
Upgrades Spotless plugin from 7.2.1 to 8.2.1; updates sourceCompatibility and targetCompatibility from Java 11 to Java 17.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • jimmyjames
  • rhamzeh
🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Title check ⚠️ Warning The title mentions upgrading Spotless to 8.2.1, which is a real change in build.gradle. However, the PR also includes a breaking change (dropping Java 11 support and making Java 17 the minimum), which is the more significant change highlighted in the commit messages and objectives. The title focuses on a secondary aspect rather than the primary breaking change. Consider updating the title to reflect the main breaking change: 'Drop Java 11 support and upgrade to Java 17 minimum' or similar, as this is the more impactful change than the Spotless plugin upgrade.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/upgrade-spotless-to-8.2.1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov-commenter
Copy link

codecov-commenter commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 37.70%. Comparing base (b7e1cdb) to head (2328f3a).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #285   +/-   ##
=========================================
  Coverage     37.70%   37.70%           
  Complexity     1236     1236           
=========================================
  Files           197      197           
  Lines          7609     7609           
  Branches        880      880           
=========================================
  Hits           2869     2869           
  Misses         4601     4601           
  Partials        139      139           

☔ View full report in Codecov by Sentry.
📢 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.

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

Upgrades the Gradle Spotless plugin and updates the project’s Java baseline/CI matrix, aligning builds and publishing to run on newer JDKs.

Changes:

  • Bump com.diffplug.spotless Gradle plugin from 7.2.1 to 8.2.1.
  • Change Gradle sourceCompatibility/targetCompatibility from Java 11 to Java 17.
  • Update GitHub Actions workflow to test on Java 17/21 only and run publish jobs on Java 17.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
build.gradle Updates Spotless plugin version; raises Java compilation target to 17.
.github/workflows/main.yaml Removes Java 11 from CI matrix; standardizes coverage/publish jobs around Java 17+.

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

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@build.gradle`:
- Around line 29-30: The project now requires Java 17
(sourceCompatibility/targetCompatibility set to JavaVersion.VERSION_17); update
documentation accordingly by (1) changing README.md’s "minimum JDK version"
statement to Java 17 and adding a short note about the change, (2) adding a
Breaking Change entry in CHANGELOG.md that follows existing breakage formatting
(mention Java 17 requirement and affected versions), and (3) creating a brief
migration note (can be a new section in README.md or a separate MIGRATION.md)
that explains steps for users on Java 11 or earlier to upgrade their JDK or
toolchain and any build/tooling adjustments required.

Copy link
Member

@ewanharris ewanharris left a comment

Choose a reason for hiding this comment

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

Thanks dependabot!

@curfew-marathon curfew-marathon added this pull request to the merge queue Feb 12, 2026
Merged via the queue into main with commit 631933e Feb 12, 2026
22 checks passed
@curfew-marathon curfew-marathon deleted the chore/upgrade-spotless-to-8.2.1 branch February 12, 2026 17:25
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.

3 participants