fix(android-template): declare app/build.gradle dependency versions explicitly - #8567
Merged
OS-ruimoreiramendes merged 2 commits intoAug 11, 2026
Merged
Conversation
OS-ruimoreiramendes
marked this pull request as ready for review
August 11, 2026 15:32
OS-ruimoreiramendes
requested review from
ItsChaceD,
OS-pedrogustavobilro,
alexgerardojacinto,
andredestro,
markemer and
theproducer
August 11, 2026 15:33
OS-pedrogustavobilro
approved these changes
Aug 11, 2026
9 tasks
OS-ruimoreiramendes
deleted the
fix/RMET-5369/android-template-gradle-9
branch
August 11, 2026 16:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes the "Implicit lookup of properties in parent projects" Gradle 9.6 deprecation in the Android app template.
ref: RMET-5369
Change Type
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 onapp/build.gradleare gone after the fix, and that runningupdateAppBuildGradleagainst a Cap 8-style sample inserts thedefblock.Platforms Affected