Parse-SDK-Android icon indicating copy to clipboard operation
Parse-SDK-Android copied to clipboard

New standard way of declaring the repository settings

Open mobilekosmos opened this issue 3 years ago • 1 comments

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.

mobilekosmos avatar Apr 16 '22 06:04 mobilekosmos

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.