fix(android): add AGP classpath for Huawei AGConnect plugin compatibility

Huawei agcp plugin requires com.android.tools.build:gradle in buildscript
classpath but new Flutter plugin DSL only declares it via settings.gradle.kts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-03-10 07:49:32 -07:00
parent f1bf0a6abc
commit 7c7fbab3ef
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ buildscript {
maven { url = uri("https://developer.huawei.com/repo/") }
}
dependencies {
classpath("com.android.tools.build:gradle:8.11.1")
classpath("com.google.gms:google-services:4.4.2")
classpath("com.huawei.agconnect:agcp:1.9.1.303")
}