Migrating to ZEGOCLOUD Maven
- Add the
jitpack
configuration.
-
If your Android Gradle Plugin is 7.1.0 or later: enter your project's root directory, open the
settings.gradle
file to add the jitpack todependencyResolutionManagement
>repositories
like this:UntitleddependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven { url 'https://storage.zego.im/maven' } // <- Add this line. maven { url 'https://www.jitpack.io' } } }
1WarningIf you can't find the above fields in
settings.gradle
, it's probably because your Android Gradle Plugin version is lower than v7.1.0.For more details, see Android Gradle Plugin Release Note v7.1.0.
-
If your Android Gradle Plugin is earlier than 7.1.0: enter your project's root directory, open the
build.gradle
file to add the jitpack toallprojects
->repositories
like this:Untitledallprojects { repositories { google() mavenCentral() maven { url 'https://storage.zego.im/maven' } // <- Add this line. maven { url "https://jitpack.io" } } }
1