From d7d244c8877ac63e0024004d404259333067f30a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ros=C3=A1rio=20P=2E=20Fernandes?= Date: Thu, 27 Aug 2026 17:32:38 +0100 Subject: [PATCH] revert the AGP version pin --- build.gradle.kts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index c4cd5b03..149357a2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -43,19 +43,9 @@ fun notFromFirebase(candidate: ModuleComponentIdentifier): Boolean { return candidate.group != "com.google.firebase" } -// TODO(b/522845800): remove this once the bug with AGP 9.3.x and lint has been fixed -fun isBuggyAGP(candidate: ModuleComponentIdentifier): Boolean { - // Skip versions <= 9.3.1 - val candidateName = candidate.toString().lowercase() - return (candidateName.contains("com.android.application") || - candidateName.contains("com.android.library")) && - candidate.version.replace(".", "").toInt() <= 931 -} - tasks.withType { rejectVersionIf { - (isNonStable(candidate) && notFromFirebase(candidate)) || isBlockListed(candidate) || - isBuggyAGP(candidate) + (isNonStable(candidate) && notFromFirebase(candidate)) || isBlockListed(candidate) } }