From 3af44762ad765cde99024e2b080d4c88f34cfc09 Mon Sep 17 00:00:00 2001 From: HUI Date: Thu, 20 May 2021 16:10:25 +0800 Subject: [PATCH] fix: Android build error --- android/build.gradle | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index c9f6c7ad2..bd6cea543 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -18,6 +18,14 @@ buildscript { } } +rootProject.allprojects { + repositories { + mavenCentral() + google() + maven { url 'https://www.jitpack.io' } + } +} + apply plugin: 'com.android.library' apply plugin: 'kotlin-android' @@ -41,12 +49,6 @@ android { } } -repositories { - mavenCentral() - google() - maven { url 'https://www.jitpack.io' } -} - dependencies { api 'com.github.agorabuilder:native-full-sdk:3.4.2'