Prepare 2.10.0 release (raise minimum to AGP 8.0 / Gradle 8.0 / JDK 17)#290
Conversation
- 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>
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.0to2.10.0(src/main/resources/VERSION). - Add
ver 2.10.0release notes toCHANGELOG.md(AGP 9.x support, configuration cache support, breaking minimums). - Update
README.md/README_JP.mdwith 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.
- 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>
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>
|
Thanks! |
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
Build toolchain
gradle-wrapper6.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.androidGradleVersion4.2.0 → 8.0.0; Java target → 17; removed dead version branches (requireJava11/requireGroovy3, theGradleCompat.forUseAtConfigurationTime< 7.0 path).CI
unit-test/lint/acceptance-testjobs run on Java 17.Version & changelog
VERSION2.9.0 → 2.10.0.Docs (README.md / README_JP.md)
>=2.4.0,<2.10.0; Android Studio code names added for AGP 8.8–8.13.>=2.10.0→ 8.0; binary compatibility>=2.10.0→ 17.Superseded dependabot PRs
🤖 Generated with Claude Code