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

New standard way of declaring the repository settings #1161

Open
3 tasks done
mobilekosmos opened this issue Apr 16, 2022 · 1 comment
Open
3 tasks done

New standard way of declaring the repository settings #1161

mobilekosmos opened this issue Apr 16, 2022 · 1 comment
Labels
type:feature New feature or improvement of existing feature

Comments

@mobilekosmos
Copy link

mobilekosmos commented Apr 16, 2022

New Feature / Enhancement Checklist

There is a new standard way of declaring the repository settings:
https://developer.android.com/studio/releases/gradle-plugin?hl=nl#settings-gradle

Following block should be removed from root's build.gradle:

repositories {
    google()
    mavenCentral()
}

Instead following block added to settings.gradle:

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
    }
}

I will add a PR based on this issue.

@parse-github-assistant
Copy link

parse-github-assistant bot commented Apr 16, 2022

Thanks for opening this issue!

  • ❌ Please edit your post and use the provided template when creating a new issue. This helps everyone to understand your post better and asks for essential information to quicker review the issue.

@mtrezza mtrezza added the type:feature New feature or improvement of existing feature label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

2 participants