Skip to content

Bump Android Gradle Plugin to 8.10.1 and Gradle wrapper to 8.11.1#1723

Open
aleksandar-apostolov wants to merge 3 commits into
gsd/phase-1-01-kotlinfrom
gsd/phase-1-02-agp
Open

Bump Android Gradle Plugin to 8.10.1 and Gradle wrapper to 8.11.1#1723
aleksandar-apostolov wants to merge 3 commits into
gsd/phase-1-01-kotlinfrom
gsd/phase-1-02-agp

Conversation

@aleksandar-apostolov

@aleksandar-apostolov aleksandar-apostolov commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Goal

Closes AND-1240 — second step of the V2 migration's build toolchain modernization. AGP 8.10 is the first release whose bundled lint engine is compatible with androidx.lifecycle 2.9.x and Compose-K2 detectors (the lifecycle bump arrives in the next PR via stream-android-core 5.0.0). 8.10.1 is the patch-stable release. Gradle wrapper bumps to 8.11.1 to satisfy AGP 8.10's Gradle >= 8.11.1 requirement.

Stacked on #1722 (Kotlin 2.2.0). Merge after parent.

Sequential stack on develop-v2: Kotlin 2.2.0 (#1722) → this PR → stream-android-core 5.0.0 dep (#1725).

Implementation

Version moves:

File Key Before After
gradle/libs.versions.toml androidGradlePlugin 8.5.2 8.10.1
gradle/wrapper/gradle-wrapper.properties distributionUrl gradle-8.8-all.zip gradle-8.11.1-all.zip

Source-level compat fix (demo-app/build.gradle.kts):

  • AGP 8.10 made applicationVariant.buildConfigFields and applicationVariant.resValues nullable (MapProperty<...>?). Two call sites in the androidComponents { onVariants { ... } } block now use ?.put(...) instead of .put(...).

No source changes elsewhere. No convention plugin changes. No bumps beyond AGP / Gradle / demo-app compat.

Testing

  • ./gradlew --versionGradle 8.11.1.
  • ./gradlew clean compileDebugKotlin across all modules + demo-app + tutorials + metrics: green.
  • ./gradlew testDebugUnitTest: zero failures. @Ignore baseline holds at 21.
  • ./gradlew spotlessCheck: green.
  • ./gradlew apiCheck: green. BCV .api diff EMPTY (AGP/Gradle bump produces no bytecode-visible diff).
  • ./gradlew :demo-app:assembleDevelopmentDebug: green. APK at demo-app/build/outputs/apk/development/debug/demo-app-development-debug.apk.
  • streamConventions = "0.13.1" is unchanged and resolves AGP 8.10.1 cleanly — no fallback needed.
  • Baseline-profile plugin emits only the benign "tested at most with AGP 8.3.0" warning; no defensive unapply required.

@aleksandar-apostolov aleksandar-apostolov added the pr:dependencies Dependency updates label Jun 17, 2026
@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

PR checklist ✅

All required conditions are satisfied:

  • Title length is OK (or ignored by label).
  • At least one pr: label exists.
  • Sections ### Goal, ### Implementation, and ### Testing are filled, or the PR is bot-authored.
  • An issue is linked (Linear ticket or GitHub issue), or the PR is bot-authored.

🎉 Great job! This PR is ready for review.

@aleksandar-apostolov aleksandar-apostolov marked this pull request as ready for review June 17, 2026 08:32
@aleksandar-apostolov aleksandar-apostolov requested a review from a team as a code owner June 17, 2026 08:32
@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

SDK Size Comparison 📏

SDK Before After Difference Status
stream-video-android-core 12.05 MB 12.05 MB 0.00 MB 🟢
stream-video-android-ui-xml 5.68 MB 5.63 MB -0.05 MB 🚀
stream-video-android-ui-compose 6.28 MB 6.29 MB 0.01 MB 🟢

@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

Two build toolchain version bumps: androidGradlePlugin in the version catalog is updated from 8.5.2 to 8.7.3, and the Gradle wrapper distribution URL is changed from gradle-8.8-all.zip to gradle-8.10.2-all.zip.

Changes

Gradle Version Updates

Layer / File(s) Summary
AGP and Gradle wrapper version bumps
gradle/libs.versions.toml, gradle/wrapper/gradle-wrapper.properties
androidGradlePlugin bumped from 8.5.2 to 8.7.3 in the version catalog; Gradle wrapper distribution updated from 8.8 to 8.10.2.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐇 Hop, hop, the versions climb,
From 8.5 to 8.7 in rhyme,
The wrapper leaps to 8.10 with glee,
Fresh Gradle tools for all to see,
The bunny approves — build swiftly! 🎉

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning Title claims AGP 8.10.1 and Gradle 8.11.1, but actual changes are AGP 8.7.3 and Gradle 8.10.2, making the title factually incorrect. Update title to accurately reflect the versions being bumped: 'Bump Android Gradle Plugin to 8.7.3 and Gradle wrapper to 8.10.2'.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed Description provides comprehensive implementation details, testing results, and stacking information, covering all critical sections despite the discrepancy with PR objectives.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch gsd/phase-1-02-agp

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

Copy link
Copy Markdown

@aleksandar-apostolov aleksandar-apostolov changed the title Bump Android Gradle Plugin to 8.7.3 and Gradle wrapper to 8.10.2 Bump Android Gradle Plugin to 8.10.1 and Gradle wrapper to 8.11.1 Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants