diff --git a/build.gradle b/build.gradle index 081181e..58bae21 100644 --- a/build.gradle +++ b/build.gradle @@ -3,10 +3,11 @@ buildscript { repositories { google() - jcenter() mavenCentral() - maven { url 'https://jitpack.io' } - maven { url 'https://developer.huawei.com/repo/' } + maven { + url 'https://developer.huawei.com/repo/' + content { includeGroupByRegex "com.huawei.*" } + } } dependencies { classpath 'com.android.tools.build:gradle:7.3.1' @@ -30,12 +31,15 @@ plugins { allprojects { repositories { google() - jcenter() mavenCentral() maven { url 'https://jitpack.io' + content { includeGroupByRegex "com.github.AbedElazizShe:*" } + } + maven { + url 'https://developer.huawei.com/repo/' + content { includeGroupByRegex "com.huawei.*" } } - maven { url 'https://developer.huawei.com/repo/' } } } diff --git a/dependencies.gradle b/dependencies.gradle index 781e068..d24a538 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -91,7 +91,7 @@ ext { //ui lottie : 'com.airbnb.android:lottie:6.2.0', lottie_compose : 'com.airbnb.android:lottie-compose:6.1.0', - flexbox : 'com.google.android:flexbox:2.0.1', + flexbox : 'com.google.android.flexbox:flexbox:3.0.0', shortcut_badger : "me.leolin:ShortcutBadger:1.1.22@aar", better_link_movement_method : 'me.saket:better-link-movement-method:2.2.0', browser : "androidx.browser:browser:1.3.0", diff --git a/opensource/build.gradle b/opensource/build.gradle index 918a98b..bc6a19d 100644 --- a/opensource/build.gradle +++ b/opensource/build.gradle @@ -6,7 +6,6 @@ apply plugin: 'androidx.navigation.safeargs.kotlin' apply plugin: 'dagger.hilt.android.plugin' apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.firebase.crashlytics' -apply plugin: 'com.huawei.agconnect' apply from: '../dependencies.gradle' @@ -66,6 +65,7 @@ android { huawei { dimension "vendor" + apply plugin: 'com.huawei.agconnect' } }