disable repo warning for buildSrc

This commit is contained in:
Adam 2022-01-09 11:02:05 +01:00
parent 11ffaedf14
commit 77429f35bf

View file

@ -7,7 +7,7 @@ dependencyResolutionManagement {
// Cannot use 'FAIL_ON_PROJECT_REPOS' because // Cannot use 'FAIL_ON_PROJECT_REPOS' because
// - the 'gradle-guides-plugin' adds a repo (which it should not do) // - the 'gradle-guides-plugin' adds a repo (which it should not do)
// - the 'kotlin-gradle-plugin' adds a repo (and removes it afterwards) to download NodeJS // - the 'kotlin-gradle-plugin' adds a repo (and removes it afterwards) to download NodeJS
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) // repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories { repositories {
mavenCentral() mavenCentral()