Skip to content

fix(android-template): declare app/build.gradle dependency versions explicitly - #8567

Merged
OS-ruimoreiramendes merged 2 commits into
nextfrom
fix/RMET-5369/android-template-gradle-9
Aug 11, 2026
Merged

fix(android-template): declare app/build.gradle dependency versions explicitly#8567
OS-ruimoreiramendes merged 2 commits into
nextfrom
fix/RMET-5369/android-template-gradle-9

Conversation

@OS-ruimoreiramendes

@OS-ruimoreiramendes OS-ruimoreiramendes commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes the "Implicit lookup of properties in parent projects" Gradle 9.6 deprecation in the Android app template.

ref: RMET-5369

Change Type

  • Fix
  • Feature
  • Refactor
  • Breaking Change
  • Documentation
  • Other (CI, chores, etc.)

Rationale / Problems Fixed

Gradle 9.6 deprecated implicit parent property lookup. This will fail with an error in Gradle 10. Declaring the versions locally removes the implicit lookup and makes the template forward-compatible.

Tests or Reproductions

Verified on a fresh Capacitor 9 app (Gradle 9.6.0, --warning-mode=all) that the 6 warnings on app/build.gradle are gone after the fix, and that running updateAppBuildGradle against a Cap 8-style sample inserts the def block.

Platforms Affected

  • Android
  • iOS
  • Web

Comment thread cli/src/tasks/migrate.ts
@OS-ruimoreiramendes
OS-ruimoreiramendes merged commit 86f9dfd into next Aug 11, 2026
6 checks passed
@OS-ruimoreiramendes
OS-ruimoreiramendes deleted the fix/RMET-5369/android-template-gradle-9 branch August 11, 2026 16:34
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.

2 participants