Skip to content

Commit

Permalink
fixed build for huawei flavor
Browse files Browse the repository at this point in the history
  • Loading branch information
deckerst committed Apr 1, 2024
1 parent b47b59e commit e81436f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
buildscript {
ext {
agp_version = '8.3.1' // same as `settings.ext.agp_version` in `/android/settings.gradle`
glide_version = '4.16.0'
// AppGallery Connect plugin versions: https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-sdk-changenotes-0000001058732550
huawei_agconnect_version = '1.9.1.300'
Expand All @@ -19,6 +20,9 @@ buildscript {
}

dependencies {
// necessary when applying plugin `com.huawei.agconnect`
classpath "com.android.tools.build:gradle:$agp_version"

if (useCrashlytics) {
// GMS & Firebase Crashlytics (used by some flavors only)
classpath 'com.google.gms:google-services:4.4.0'
Expand Down

0 comments on commit e81436f

Please sign in to comment.