Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
maxcruz opened this issue Oct 17, 2021 · 0 comments
Open

Comments

@maxcruz
Copy link

maxcruz commented Oct 17, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant