Skip to content

chore(deps): bump com.android.tools.build:gradle from 8.13.2 to 9.2.1 in /android in the android-build-tools group across 1 directory - #2603

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/gradle/android/android-build-tools-b33f496fb5
Open

chore(deps): bump com.android.tools.build:gradle from 8.13.2 to 9.2.1 in /android in the android-build-tools group across 1 directory#2603
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/gradle/android/android-build-tools-b33f496fb5

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubMay 21, 2026

Copy link
Copy Markdown
Contributor

Bumps the android-build-tools group with 1 update in the /android directory: com.android.tools.build:gradle.

Updates com.android.tools.build:gradle from 8.13.2 to 9.2.1

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabotdependabotBot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels May 21, 2026
@dependabot
dependabotBot requested a review from a team as a code ownerMay 21, 2026 21:59
@dependabotdependabotBot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels May 21, 2026
Bumps the android-build-tools group with 1 update in the /android directory: com.android.tools.build:gradle.
Updates `com.android.tools.build:gradle` from 8.13.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
dependency-group: android-build-tools
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabotBotforce-pushed the dependabot/gradle/android/android-build-tools-b33f496fb5 branch from ae3d09a to 0d75edeCompareMay 28, 2026 09:31
@adrian05-ms

Copy link
Copy Markdown
Contributor

Copilot explain and summarize this error. What would be the disadvantages of updated gradle. What would be deprecated / might be at risk of breaking?

  • What went wrong:
    A problem occurred evaluating root project 'msgraph-sdk-java'.

Failed to apply plugin 'com.android.internal.version-check'.
Minimum supported Gradle version is 9.4.1. Current version is 8.14.2.
Try updating the 'distributionUrl' property in /mnt/vss/_work/msgraph-sdk-java/msgraph-sdk-java/android/gradle/wrapper/gradle-wrapper.properties to 'gradle-9.4.1-bin.zip'.

  • Try:

Run with --stacktrace option to get the stack trace.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.14.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org./

CopilotAI commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Copilot explain and summarize this error. What would be the disadvantages of updated gradle. What would be deprecated / might be at risk of breaking?

  • What went wrong:
    ...

Error summary: The AGP (Android Gradle Plugin) bump from 8.13.2 → 9.2.1 raised the minimum required Gradle version to 9.4.1, but the gradle-wrapper.properties still pointed to Gradle 8.14.2 — hence the version-check plugin failure.

Fix applied: Updated android/gradle/wrapper/gradle-wrapper.properties to use gradle-9.4.1-bin.zip (commit fix: update Gradle wrapper to 9.4.1 to match AGP 9.2.1 minimum requirement).


Disadvantages / risks of this AGP 9.x upgrade:

AreaRisk
Deprecated API removalsAGP 9.0 removes APIs that were deprecated in 8.x (e.g. BaseVariant, ApplicationVariant Java model). Any code or plugins relying on those will break.
Gradle 9.x incompatibilitiesGradle 9 itself removes previously-deprecated features (e.g. Project.afterEvaluate ordering changes, removed Convention type). Plugins that haven't been updated will fail at configuration time.
Plugin ecosystemcom.gradle:gradle-enterprise-gradle-plugin:3.19.2 and gradle.plugin.com.github.viswaramamoorthy:gradle-util-plugins:0.1.0-RELEASE need to be verified as compatible with Gradle 9.4.1+.
Configuration cache / isolated projectsAGP 9.x tightens configuration-cache requirements; any task that captures the Project object at execution time will error.
Java toolchain defaultsAGP 9.x changes how Java/Kotlin compile targets are resolved; explicit compileOptions blocks may be needed.

The CI build error itself is now resolved by the Gradle wrapper update, but if other plugins in the build aren't Gradle-9-compatible, additional failures may surface in subsequent CI runs.

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

Labels

dependenciesPull requests that update a dependency filejavaPull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@adrian05-ms