Skip to content

Prepare 2.10.0 release (raise minimum to AGP 8.0 / Gradle 8.0 / JDK 17)#290

Merged
tnj merged 9 commits into
masterfrom
chore/readme-release-2.10.0
Jun 12, 2026
Merged

Prepare 2.10.0 release (raise minimum to AGP 8.0 / Gradle 8.0 / JDK 17)#290
tnj merged 9 commits into
masterfrom
chore/readme-release-2.10.0

Conversation

@tnj

@tnj tnj commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary

Prepares the 2.10.0 release. On top of the AGP 9.x migration + configuration cache already on master (#283, #272), this raises the build toolchain and the minimum supported versions.

Breaking: minimum is now AGP 8.0 / Gradle 8.0 / JDK 17

  • Drop AGP 4.2.x–7.4.x and Gradle 6.x–7.x. Users on those stay on 2.9.x.
  • Moves the build/development baseline to Java 17 (required by Spotless 8.6 and AGP 8.x).

Build toolchain

  • gradle-wrapper 6.7.1 → 8.14.3 — the ProjectBuilder "Problems service is not initialized" regression in Gradle 8.12/8.13 ([Gradle 8.12] "Problems service is not initialized error" in plugin unit tests gradle/gradle#31862) is fixed in 8.14; 8.14.3 also satisfies Spotless 8.6's Gradle 8.1+ floor and runs on Java 17.
  • Spotless 7.2.1 → 8.6.0, applied only on Gradle 8.1+ so the Gradle 8.0 acceptance rows still validate the stated minimum.
  • Default androidGradleVersion 4.2.0 → 8.0.0; Java target → 17; removed dead version branches (requireJava11/requireGroovy3, the GradleCompat.forUseAtConfigurationTime < 7.0 path).

CI

  • unit-test / lint / acceptance-test jobs run on Java 17.
  • Acceptance matrix drops AGP 7.0–7.4 (keeps 8.0–9.2).

Version & changelog

Docs (README.md / README_JP.md)

  • Version compatibility table: AGP 4.2.x–7.4.x → >=2.4.0,<2.10.0; Android Studio code names added for AGP 8.8–8.13.
  • Gradle compatibility >=2.10.0 → 8.0; binary compatibility >=2.10.0 → 17.
  • Fixed the dead Travis badge → GitHub Actions, corrected the dev test command, removed the empty Canary/Beta table, refreshed the copyright year and dev JRE requirement.

Superseded dependabot PRs

Note: release.yml verifies src/main/resources/VERSION matches the release tag, so this must be tagged 2.10.0.

🤖 Generated with Claude Code

tnj and others added 2 commits June 11, 2026 17:49
- Replace the dead Travis CI badge with the GitHub Actions build status badge
- Fix the development test command: there is no `acceptanceTest` task;
  use `testUnrollAcceptanceTest` / `testPluginAcceptanceTest`
- Remove the empty Canary/Beta placeholder table (the note and the
  workflow link already convey the latest tested versions)
- Note JRE 17+ is needed to run the AGP 8.0+/Gradle 9 test matrix
- Bump the License copyright year

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Record the 2.10.0 release in the changelog:
- Migrate to AGP's public androidComponents/Artifacts API and support
  AGP 9.x (8.8.x–9.2.x). [#283]
- Support Gradle's configuration cache. [#272]
- Breaking: drop AGP 4.2.x and Gradle 6.7.x; minimum AGP/Gradle is now 7.0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 11, 2026 09:01

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the plugin to version 2.10.0, migrating to the public Android Gradle Plugin androidComponents/Artifacts API, supporting AGP 9.x, and dropping support for AGP 4.2.x and Gradle 6.7.x. It also updates the documentation to reflect new JRE requirements, test commands, and copyright years. The review feedback suggests minor grammatical and formatting improvements in the CHANGELOG.md file to enhance readability and structure.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md Outdated

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

Prepares the repository for the 2.10.0 release by bumping the published version, adding the corresponding changelog entry, and correcting README documentation (badges, dev/test instructions, and requirements notes).

Changes:

  • Bump plugin version from 2.9.0 to 2.10.0 (src/main/resources/VERSION).
  • Add ver 2.10.0 release notes to CHANGELOG.md (AGP 9.x support, configuration cache support, breaking minimums).
  • Update README.md / README_JP.md with GitHub Actions badge, correct dev test tasks, remove placeholder table, and refresh license year / requirements note.

Reviewed changes

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

File Description
src/main/resources/VERSION Version bump to 2.10.0 for the release.
CHANGELOG.md Adds 2.10.0 release notes including breaking changes and supported AGP/Gradle ranges.
README.md Updates badge, dev test command, requirements note, and license year; removes placeholder table.
README_JP.md Same README maintenance updates in Japanese documentation.

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

Comment thread CHANGELOG.md
tnj and others added 5 commits June 11, 2026 18:06
- Reword "Support Android Gradle Plugin of below" to "Support the
  following Android Gradle Plugin versions"
- Use a `### Breaking Changes` subheading instead of italic text

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Fill in the Android Studio release code names for AGP 8.8.x–8.13.x
(Ladybug Feature Drop, Meerkat, Meerkat Feature Drop, Narwhal,
Narwhal Feature Drop, Otter) per the official AGP compatibility table,
and re-align the table. 9.0.x–9.2.x are intentionally left blank since
each maps to multiple Android Studio releases.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Spotless 8.6 requires Gradle >= 8.1 and Java 17, so the build toolchain moves
to Java 17. The wrapper is pinned to Gradle 8.11.1 — the last 8.x before the
ProjectBuilder "Problems service is not initialized" regression introduced in
Gradle 8.12 (gradle/gradle#31862) that breaks the plugin's unit tests.

- gradle-wrapper: 6.7.1 -> 8.11.1
- spotless-plugin-gradle: 7.2.1 -> 8.6.0 (indentWithSpaces -> leadingTabsToSpaces)
- default androidGradleVersion (TEST_AGP_VERSION fallback): 4.2.0 -> 8.0.0
- java sourceCompatibility/targetCompatibility -> 17 (min AGP 8.0 implies JDK 17)
- drop now-dead version branches: requireJava11, requireGroovy3, and the
  GradleCompat.forUseAtConfigurationTime < 7.0 path (now a pass-through)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…trix

- unit-test / lint / acceptance-test jobs now run on Java 17
- acceptance-test-runtime-env matrix drops AGP 7.0.0-7.4.0 (minimum is now 8.0)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Reflect the Java 17 baseline in 2.10.0: minimum AGP 8.0, minimum Gradle 8.0,
JDK 17 required. AGP 4.2.x-7.4.x users stay on 2.9.x.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The acceptance-test-runtime-env matrix runs this build on Gradle 8.0 (AGP 8.0's
minimum), where Spotless 8.6 fails to apply ("Spotless requires Gradle 8.1 or
newer"). Guard the plugin application and its configuration on Gradle >= 8.1 so
the Gradle 8.0 rows keep validating the stated minimum. Spotless still runs in
the lint/unit jobs on the 8.11.1 wrapper.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tnj tnj changed the title Prepare 2.10.0 release: bump version, changelog, and README fixes Prepare 2.10.0 release (raise minimum to AGP 8.0 / Gradle 8.0 / JDK 17) Jun 12, 2026
@tnj tnj requested a review from Copilot June 12, 2026 03:53

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

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

Comment thread gradlew
The ProjectBuilder "Problems service is not initialized" regression
(gradle/gradle#31862) that affected Gradle 8.12/8.13 is fixed in 8.14, so the
wrapper moves to the latest 8.x patch (8.14.3) instead of 8.11.1. Verified the
full unit suite and acceptance ConfigurationCacheSpec on 8.14.3 / Java 17.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tnj tnj requested a review from satsukies June 12, 2026 04:16

@satsukies satsukies left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!
LGTM 👍

@tnj tnj merged commit 37d1fe6 into master Jun 12, 2026
24 checks passed
@tnj tnj deleted the chore/readme-release-2.10.0 branch June 12, 2026 06:47
@tnj

tnj commented Jun 12, 2026

Copy link
Copy Markdown
Member Author

Thanks!

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