Skip to content

Commit

Permalink
Configure plugin repositories to use Gradle Portal last
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Andrei Shikov authored and facebook-github-bot committed Jan 13, 2022
1 parent 72d949e commit 3cf0291
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/react-native-gradle-plugin/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
google()
gradlePluginPortal()
}
}

Expand Down
3 changes: 2 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
google()
gradlePluginPortal()
}
}

Expand Down

0 comments on commit 3cf0291

Please sign in to comment.