Build: Improve cache redirector usage in buildSrc settings.gradle
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
if (cacheRedirectorEnabled == 'true') {
|
||||
logger.info("Using cache redirector for settings.gradle pluginManagement")
|
||||
maven {
|
||||
url "https://cache-redirector.jetbrains.com/plugins.gradle.org/m2"
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
include "prepare-deps"
|
||||
|
||||
Reference in New Issue
Block a user