Skip to content

fix: downgrade Gradle 9.3.1 → 8.11.1 to fix CI#697

Merged
ThomasGorisse merged 1 commit intomainfrom
fix/ci-gradle-compatibility
Mar 23, 2026
Merged

fix: downgrade Gradle 9.3.1 → 8.11.1 to fix CI#697
ThomasGorisse merged 1 commit intomainfrom
fix/ci-gradle-compatibility

Conversation

@ThomasGorisse
Copy link
Contributor

Summary

Fixes the root cause of CI failures reported in #695 (5 failures in last 7 runs).

Root cause: The Gradle wrapper was set to 9.3.1 (designed for AGP 9.1.0), but the project uses AGP 8.11.1, which only supports Gradle 8.x. This version incompatibility caused all CI builds to fail at Gradle configuration time.

The rapid rollback PRs (#688-#694) changed Filament, Kotlin, and AGP versions trying to fix CI, but none addressed the actual Gradle wrapper mismatch.

Change

  • gradle-wrapper.properties: gradle-9.3.1-bin.zipgradle-8.11.1-bin.zip

Why this fix

Component Current Compatible Gradle
AGP 8.11.1 Used in build.gradle Gradle 8.x
AGP 9.1.0 Not used Gradle 9.3.1

The project's toolchain (AGP 8.11.1 + Kotlin 2.1.21 + Filament 1.70.0) was last green with Gradle 8.x. Downgrading the wrapper restores that working state.

Test plan

  • CI build passes (this PR will trigger CI automatically)
  • All 14 sample APKs build successfully
  • Unit tests pass
  • Lint passes

Closes #695

https://claude.ai/code/session_014jcBk8cGQ4wRF2Ai9kFPZw

AGP 8.11.1 does not support Gradle 9.x. The Gradle wrapper was at 9.3.1
(designed for AGP 9.1.0), causing all CI builds to fail at configuration
time. This is the root cause of Issue #695 (5 failures in 7 runs).

Downgrading to Gradle 8.11.1 restores compatibility with the current
AGP 8.11.1 + Kotlin 2.1.21 toolchain.

Closes #695
@ThomasGorisse ThomasGorisse merged commit f0aa18d into main Mar 23, 2026
0 of 2 checks passed
@ThomasGorisse ThomasGorisse deleted the fix/ci-gradle-compatibility branch March 23, 2026 09:20
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.

CI health: 5 failures in last 7 runs — 2026-03-22

1 participant