parse-community / Parse-SDK-Android

The Android SDK for Parse Platform
https://parseplatform.org/
Other
1.88k stars 735 forks source link

New standard way of declaring the repository settings #1161

Open mobilekosmos opened 2 years ago

mobilekosmos commented 2 years ago

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[bot] commented 2 years ago

Thanks for opening this issue!