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

Jyotishgher Astrology
By -
0

 

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



You need to update the settings in settings.gradle and change repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) to repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)






Replace this line:

repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)

use this:

repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)

Post a Comment

0Comments

Post a Comment (0)