Configure plugin repositories to use Gradle Portal last

Summary:
Gradle Plugin Portal proxies jcenter which is quite unstable these days. This change updates plugin repositories to look into maven central and google first and use gradle plugin repo only as a fallback.

Changelog: [Internal] - Prioritize maven central for Gradle plugins

Reviewed By: cortinico

Differential Revision: D33550827

fbshipit-source-id: b436b05b0fd07865b56dd3e442d8399678dfff85
This commit is contained in:
Andrei Shikov 2022-01-13 06:00:54 -08:00 committed by Facebook GitHub Bot
parent 72d949e254
commit 3cf0291008
2 changed files with 4 additions and 2 deletions

View File

@ -7,8 +7,9 @@
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
google()
gradlePluginPortal()
}
}

View File

@ -7,8 +7,9 @@
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
google()
gradlePluginPortal()
}
}