Skip to content

Commit 3e309cd

Browse files
Temporarily change the order of plugin repositories
Right now Gradle fails with the following error: "Plugin [id: 'io.spring.ge.conventions', version: '0.0.9'] was not found". But the artifacts are in fact is in the Spring Release repository. If I change the order, everything works again. It seems Gradle never tries to query the Spring Release repository but it fails with "502 Bad Gateway: https://jcenter.bintray.com/...". Which means that the Gradle Plugins repository redirects which returns "502 Bad Gateway" and Gradle is not able to continue checking the other repositories after this. I think neither the redirect to JCenter nor stopping after "502 Bad Gateway" should happen, I reported both issues to the Gradle Team.
1 parent 0852d25 commit 3e309cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pluginManagement {
22
repositories {
3-
gradlePluginPortal()
43
maven { url 'https://repo.spring.io/release' }
4+
gradlePluginPortal()
55
}
66
}
77

0 commit comments

Comments
 (0)