badoo / MVICore

MVI framework with events, time-travel, and more
https://badoo.github.io/MVICore/
Other
1.27k stars 90 forks source link

Repositories should be added to the settings.gradle instead of allprojects #151

Open maxcruz opened 3 years ago

maxcruz commented 3 years ago

Android Studio introduced a new way to define repositories. If you have the dependencyResolutionManagement block in your settings.gradle, then you need to add the jitpack repository there instead of using the allprojects block

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Maybe the documentation should be updated too.