Build was configured to prefer settings repositories over project repositories but repository ‘maven’ was added by build file ‘build.gradle’

Gradle 6.8 introduced central declaration of repositories, new way to define repositories. Latest documentation (7.4.2) can be found here.

Remove the dependencyResolutionManagement block from the setting.gradle file to have your project work the old way.

Leave a Comment