Skip to content

build(deps): bump com.android.tools.build:gradle from 8.7.2 to 9.2.1#4865

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/com.android.tools.build-gradle-9.2.1
Open

build(deps): bump com.android.tools.build:gradle from 8.7.2 to 9.2.1#4865
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/com.android.tools.build-gradle-9.2.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 19, 2026

Copy link
Copy Markdown
Contributor

Bumps com.android.tools.build:gradle from 8.7.2 to 9.2.1.

@dependabot dependabot Bot added Dependencies Pull requests that update a dependency file java Pull requests that update java code labels May 19, 2026
@dependabot dependabot Bot force-pushed the dependabot/gradle/com.android.tools.build-gradle-9.2.1 branch from b548d49 to 5fa7719 Compare May 21, 2026 07:31
@jesmrec jesmrec added this to the 4.9 - Next milestone May 29, 2026
@joragua

joragua commented Jun 5, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/gradle/com.android.tools.build-gradle-9.2.1 branch from 5fa7719 to 8b6d21b Compare June 5, 2026 11:02
Bumps com.android.tools.build:gradle from 8.7.2 to 9.2.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-version: 9.2.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/gradle/com.android.tools.build-gradle-9.2.1 branch from 8b6d21b to b24185f Compare June 9, 2026 06:25

@DeepDiver1975 DeepDiver1975 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.

Review: AGP 8.7.2 → 9.2.1 (MAJOR build-system bump)DeepDiver1975, maintainer review.

This is a one-line bump of the Android Gradle Plugin major version (8.x → 9.x), i.e. the core of the build toolchain. CI is red, which is the decisive signal here:

  • Run Android Unit Tests — fail
  • Run Android Instrumented Data Tests — fail
  • Detekt — fail

(Validation, string-validation and semantic-commit checks pass, but those don't compile the project.)

Root cause / migration risk — Gradle version floor. The repo pins the wrapper to Gradle 8.9 (gradle/wrapper/gradle-wrapper.propertiesgradle-8.9-bin.zip). AGP 9.x requires Gradle 9.x; AGP 8.7 was the last line that ran on Gradle 8.9. So this bump cannot build until the wrapper is upgraded to a Gradle 9.x release first. That alone explains the failing build/test jobs.

Other AGP 9 migration concerns to verify before this can go green (not addressable by a version-only bump):

  • JDK: CI runs JDK 17 (detekt.yml etc.). AGP 9 requires JDK 17 as the minimum to run Gradle — OK at 17, but worth confirming all jobs are on 17+.
  • Removed/changed DSL: AGP 9 removes long-deprecated DSL and the legacy Variant API, and tightens namespace requirements. The build uses Groovy DSL with buildscript{} classpath wiring (build.gradle) plus KSP/ktlint/detekt/sonarqube/cyclonedx plugins applied to all subprojects — each plugin must have an AGP-9-compatible version, and any removed DSL must be migrated.
  • AGP–KGP coupling: AGP 9 changes how the Kotlin plugin integrates; the Kotlin Gradle Plugin version (libs.kotlin.gradlePlugin) likely needs a coordinated bump.

Verdict: changes requested. A major build-system jump is not a safe version-only Dependabot bump for this repo. It needs a deliberate migration PR: bump the Gradle wrapper to 9.x, audit the third-party Gradle plugins for AGP-9 compatibility, migrate any removed DSL, and only land once all build/test checks are green. As-is the change does not build.

Recommend: hold (or close in favour of a dedicated AGP-9 migration effort). Not merging from here.

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Pull requests that update a dependency file Estimation - 2 (S) java Pull requests that update java code Sprint

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants