Skip to content

Bump Android/Kotlin Gradle wrappers and AGP to 9.2.1#1645

Merged
ChiragAgg5k merged 1 commit into
mainfrom
fix/bump-android-gradle-agp
Jul 9, 2026
Merged

Bump Android/Kotlin Gradle wrappers and AGP to 9.2.1#1645
ChiragAgg5k merged 1 commit into
mainfrom
fix/bump-android-gradle-agp

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

Related Issue

Description

Bump Android/Kotlin Gradle wrappers from 9.3.1 → 9.4.1 and AGP from 9.1.1 → 9.2.1. AGP 9.2 requires Gradle 9.4.1; without this, Renovate AGP bumps fail validation/e2e.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactor
  • Documentation update
  • Other (please describe):

Test Plan

  • CI Android/Kotlin validation builds pass with Gradle 9.4.1 + AGP 9.2.1
  • Android5Java17 / Android16Java17 / KotlinJava17 e2e stay green

Checklist

  • Templates updated
  • Child SDKs considered (Kotlin wrapper bumped with Android)

AGP 9.2+ requires Gradle 9.4.1. Raise both SDK template wrappers and
bump the Android Gradle Plugin to 9.2.1 so Renovate can land future
AGP updates without broken CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
ChiragAgg5k added a commit that referenced this pull request Jul 9, 2026
Toolchain bumps are handled in dedicated PRs (#1645, #1646), so the
allowedVersions ceilings are no longer needed.

Co-authored-by: Cursor <cursoragent@cursor.com>
@greptile-apps

greptile-apps Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR bumps the Android Gradle Plugin (AGP) from 9.1.1 to 9.2.1 and upgrades both the Android and Kotlin Gradle wrapper distributions from 9.3.1 to 9.4.1. The version pairing is correct — AGP 9.2.1 requires a minimum Gradle version of 9.4.1.

  • templates/android/build.gradle.kts.twig: AGP version updated for both com.android.library and com.android.application plugins.
  • templates/android/gradle/wrapper/gradle-wrapper.properties + templates/kotlin/gradle/wrapper/gradle-wrapper.properties: Gradle distribution URL bumped from 9.3.1 to 9.4.1 in both templates, keeping them in sync.

Confidence Score: 5/5

Safe to merge — the three template files are updated consistently, the AGP/Gradle version pairing is correct, and no other files in the repository reference these old version strings.

All three changed files are template stubs that generate SDK scaffolding. The AGP 9.2.1 + Gradle 9.4.1 combination is a confirmed valid release pairing. Both the android and kotlin wrapper files are updated together, and no other template or configuration file was left on the old versions.

No files require special attention.

Important Files Changed

Filename Overview
templates/android/build.gradle.kts.twig AGP bumped from 9.1.1 to 9.2.1 for both com.android.library and com.android.application plugins; consistent with the Gradle wrapper upgrade.
templates/android/gradle/wrapper/gradle-wrapper.properties Gradle distribution URL updated from 9.3.1 to 9.4.1; matches the minimum required by AGP 9.2.1.
templates/kotlin/gradle/wrapper/gradle-wrapper.properties Kotlin template Gradle wrapper also bumped from 9.3.1 to 9.4.1, kept in sync with the Android template.

Reviews (1): Last reviewed commit: "fix: bump Android/Kotlin Gradle wrappers..." | Re-trigger Greptile

@ChiragAgg5k ChiragAgg5k merged commit 511e99b into main Jul 9, 2026
58 checks passed
ChiragAgg5k added a commit that referenced this pull request Jul 9, 2026
Bring in merged toolchain bumps from #1645 and #1646.
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.

1 participant