From cda205bb916710ba6bddb2240c3b3ed84272356c Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Thu, 19 Nov 2020 12:32:30 -0600 Subject: [PATCH] Use jcenter instead of mavenCentral jcenter has dependencies for gretty and repo.spring.io now requires authentication to download new dependencies --- build.gradle | 4 ---- reactive/rsocket/hello-security/build.gradle | 2 +- reactive/webflux-fn/hello-security/build.gradle | 2 +- reactive/webflux-fn/hello/build.gradle | 2 +- .../java/authentication/username-password/form/build.gradle | 2 +- reactive/webflux/java/authentication/x509/build.gradle | 2 +- reactive/webflux/java/hello-security-explicit/build.gradle | 2 +- reactive/webflux/java/hello-security/build.gradle | 2 +- reactive/webflux/java/hello/build.gradle | 2 +- reactive/webflux/java/method/build.gradle | 2 +- reactive/webflux/java/oauth2/login/build.gradle | 2 +- reactive/webflux/java/oauth2/resource-server/build.gradle | 2 +- reactive/webflux/java/oauth2/webclient/build.gradle | 2 +- servlet/java-configuration/aspectj/build.gradle | 2 +- .../authentication/username-password/form/build.gradle | 2 +- .../authentication/username-password/in-memory/build.gradle | 2 +- .../authentication/username-password/jdbc/build.gradle | 2 +- .../authentication/username-password/ldap/build.gradle | 2 +- servlet/java-configuration/data/build.gradle | 2 +- servlet/java-configuration/hello-mvc-security/build.gradle | 2 +- .../java-configuration/hello-security-explicit/build.gradle | 2 +- servlet/java-configuration/hello-security/build.gradle | 2 +- servlet/java-configuration/max-sessions/build.gradle | 2 +- servlet/java-configuration/remember-me/build.gradle | 2 +- servlet/spring-boot/java/hello-security-explicit/build.gradle | 2 +- servlet/spring-boot/java/hello-security/build.gradle | 2 +- servlet/spring-boot/java/hello/build.gradle | 2 +- servlet/spring-boot/java/jwt/login/build.gradle | 2 +- servlet/spring-boot/java/oauth2/login/build.gradle | 2 +- .../java/oauth2/resource-server/hello-security/build.gradle | 2 +- .../spring-boot/java/oauth2/resource-server/jwe/build.gradle | 2 +- .../java/oauth2/resource-server/multi-tenancy/build.gradle | 2 +- .../java/oauth2/resource-server/opaque/build.gradle | 2 +- .../java/oauth2/resource-server/static/build.gradle | 2 +- servlet/spring-boot/java/oauth2/webclient/build.gradle | 2 +- servlet/spring-boot/java/saml2-login/build.gradle | 2 +- 36 files changed, 35 insertions(+), 39 deletions(-) diff --git a/build.gradle b/build.gradle index 865d588..54e050c 100644 --- a/build.gradle +++ b/build.gradle @@ -8,10 +8,6 @@ allprojects { apply plugin: 'checkstyle' apply plugin: 'io.spring.javaformat' - repositories { - maven { url "https://repo.spring.io/libs-snapshot" } - } - dependencies { checkstyle "io.spring.javaformat:spring-javaformat-checkstyle:0.0.25" } diff --git a/reactive/rsocket/hello-security/build.gradle b/reactive/rsocket/hello-security/build.gradle index a05ab10..bf4d83b 100644 --- a/reactive/rsocket/hello-security/build.gradle +++ b/reactive/rsocket/hello-security/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/reactive/webflux-fn/hello-security/build.gradle b/reactive/webflux-fn/hello-security/build.gradle index abfd59c..07e78af 100644 --- a/reactive/webflux-fn/hello-security/build.gradle +++ b/reactive/webflux-fn/hello-security/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/reactive/webflux-fn/hello/build.gradle b/reactive/webflux-fn/hello/build.gradle index 667854d..41ff74a 100644 --- a/reactive/webflux-fn/hello/build.gradle +++ b/reactive/webflux-fn/hello/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/reactive/webflux/java/authentication/username-password/form/build.gradle b/reactive/webflux/java/authentication/username-password/form/build.gradle index 3511c23..82b55ed 100644 --- a/reactive/webflux/java/authentication/username-password/form/build.gradle +++ b/reactive/webflux/java/authentication/username-password/form/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/reactive/webflux/java/authentication/x509/build.gradle b/reactive/webflux/java/authentication/x509/build.gradle index 7545d36..acca5fc 100644 --- a/reactive/webflux/java/authentication/x509/build.gradle +++ b/reactive/webflux/java/authentication/x509/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/reactive/webflux/java/hello-security-explicit/build.gradle b/reactive/webflux/java/hello-security-explicit/build.gradle index 3bfbbd6..6e5aa8f 100644 --- a/reactive/webflux/java/hello-security-explicit/build.gradle +++ b/reactive/webflux/java/hello-security-explicit/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/reactive/webflux/java/hello-security/build.gradle b/reactive/webflux/java/hello-security/build.gradle index 57a3b8b..6304bfd 100644 --- a/reactive/webflux/java/hello-security/build.gradle +++ b/reactive/webflux/java/hello-security/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/reactive/webflux/java/hello/build.gradle b/reactive/webflux/java/hello/build.gradle index 667854d..41ff74a 100644 --- a/reactive/webflux/java/hello/build.gradle +++ b/reactive/webflux/java/hello/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/reactive/webflux/java/method/build.gradle b/reactive/webflux/java/method/build.gradle index 4cafc2c..8efcab8 100644 --- a/reactive/webflux/java/method/build.gradle +++ b/reactive/webflux/java/method/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/reactive/webflux/java/oauth2/login/build.gradle b/reactive/webflux/java/oauth2/login/build.gradle index 54ce600..b6e315e 100644 --- a/reactive/webflux/java/oauth2/login/build.gradle +++ b/reactive/webflux/java/oauth2/login/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/reactive/webflux/java/oauth2/resource-server/build.gradle b/reactive/webflux/java/oauth2/resource-server/build.gradle index a8eb344..534dd25 100644 --- a/reactive/webflux/java/oauth2/resource-server/build.gradle +++ b/reactive/webflux/java/oauth2/resource-server/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/reactive/webflux/java/oauth2/webclient/build.gradle b/reactive/webflux/java/oauth2/webclient/build.gradle index 0806add..b4c7dae 100644 --- a/reactive/webflux/java/oauth2/webclient/build.gradle +++ b/reactive/webflux/java/oauth2/webclient/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/servlet/java-configuration/aspectj/build.gradle b/servlet/java-configuration/aspectj/build.gradle index de33190..f586609 100644 --- a/servlet/java-configuration/aspectj/build.gradle +++ b/servlet/java-configuration/aspectj/build.gradle @@ -4,7 +4,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/libs-snapshot" } } diff --git a/servlet/java-configuration/authentication/username-password/form/build.gradle b/servlet/java-configuration/authentication/username-password/form/build.gradle index d01c599..73c1e7d 100644 --- a/servlet/java-configuration/authentication/username-password/form/build.gradle +++ b/servlet/java-configuration/authentication/username-password/form/build.gradle @@ -8,7 +8,7 @@ plugins { apply from: "gradle/gretty.gradle" repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/libs-snapshot" } } diff --git a/servlet/java-configuration/authentication/username-password/in-memory/build.gradle b/servlet/java-configuration/authentication/username-password/in-memory/build.gradle index d01c599..73c1e7d 100644 --- a/servlet/java-configuration/authentication/username-password/in-memory/build.gradle +++ b/servlet/java-configuration/authentication/username-password/in-memory/build.gradle @@ -8,7 +8,7 @@ plugins { apply from: "gradle/gretty.gradle" repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/libs-snapshot" } } diff --git a/servlet/java-configuration/authentication/username-password/jdbc/build.gradle b/servlet/java-configuration/authentication/username-password/jdbc/build.gradle index 062d764..3930216 100644 --- a/servlet/java-configuration/authentication/username-password/jdbc/build.gradle +++ b/servlet/java-configuration/authentication/username-password/jdbc/build.gradle @@ -8,7 +8,7 @@ plugins { apply from: "gradle/gretty.gradle" repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/libs-snapshot" } } diff --git a/servlet/java-configuration/authentication/username-password/ldap/build.gradle b/servlet/java-configuration/authentication/username-password/ldap/build.gradle index 21a1e42..3e49168 100644 --- a/servlet/java-configuration/authentication/username-password/ldap/build.gradle +++ b/servlet/java-configuration/authentication/username-password/ldap/build.gradle @@ -8,7 +8,7 @@ plugins { apply from: "gradle/gretty.gradle" repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/libs-snapshot" } } diff --git a/servlet/java-configuration/data/build.gradle b/servlet/java-configuration/data/build.gradle index 06a325d..c65a627 100644 --- a/servlet/java-configuration/data/build.gradle +++ b/servlet/java-configuration/data/build.gradle @@ -5,7 +5,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/libs-snapshot" } } diff --git a/servlet/java-configuration/hello-mvc-security/build.gradle b/servlet/java-configuration/hello-mvc-security/build.gradle index d01c599..73c1e7d 100644 --- a/servlet/java-configuration/hello-mvc-security/build.gradle +++ b/servlet/java-configuration/hello-mvc-security/build.gradle @@ -8,7 +8,7 @@ plugins { apply from: "gradle/gretty.gradle" repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/libs-snapshot" } } diff --git a/servlet/java-configuration/hello-security-explicit/build.gradle b/servlet/java-configuration/hello-security-explicit/build.gradle index 4ffb838..b5aa086 100644 --- a/servlet/java-configuration/hello-security-explicit/build.gradle +++ b/servlet/java-configuration/hello-security-explicit/build.gradle @@ -8,7 +8,7 @@ plugins { apply from: "gradle/gretty.gradle" repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/libs-snapshot" } } diff --git a/servlet/java-configuration/hello-security/build.gradle b/servlet/java-configuration/hello-security/build.gradle index 4ffb838..b5aa086 100644 --- a/servlet/java-configuration/hello-security/build.gradle +++ b/servlet/java-configuration/hello-security/build.gradle @@ -8,7 +8,7 @@ plugins { apply from: "gradle/gretty.gradle" repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/libs-snapshot" } } diff --git a/servlet/java-configuration/max-sessions/build.gradle b/servlet/java-configuration/max-sessions/build.gradle index d01c599..73c1e7d 100644 --- a/servlet/java-configuration/max-sessions/build.gradle +++ b/servlet/java-configuration/max-sessions/build.gradle @@ -8,7 +8,7 @@ plugins { apply from: "gradle/gretty.gradle" repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/libs-snapshot" } } diff --git a/servlet/java-configuration/remember-me/build.gradle b/servlet/java-configuration/remember-me/build.gradle index b16e391..0bb5b67 100644 --- a/servlet/java-configuration/remember-me/build.gradle +++ b/servlet/java-configuration/remember-me/build.gradle @@ -8,7 +8,7 @@ plugins { apply from: "gradle/gretty.gradle" repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/libs-snapshot" } } diff --git a/servlet/spring-boot/java/hello-security-explicit/build.gradle b/servlet/spring-boot/java/hello-security-explicit/build.gradle index 33b9c58..fe49599 100644 --- a/servlet/spring-boot/java/hello-security-explicit/build.gradle +++ b/servlet/spring-boot/java/hello-security-explicit/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/servlet/spring-boot/java/hello-security/build.gradle b/servlet/spring-boot/java/hello-security/build.gradle index 0de9fad..9d993bd 100644 --- a/servlet/spring-boot/java/hello-security/build.gradle +++ b/servlet/spring-boot/java/hello-security/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/servlet/spring-boot/java/hello/build.gradle b/servlet/spring-boot/java/hello/build.gradle index 540e600..1127ccb 100644 --- a/servlet/spring-boot/java/hello/build.gradle +++ b/servlet/spring-boot/java/hello/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/servlet/spring-boot/java/jwt/login/build.gradle b/servlet/spring-boot/java/jwt/login/build.gradle index cac6438..649371b 100644 --- a/servlet/spring-boot/java/jwt/login/build.gradle +++ b/servlet/spring-boot/java/jwt/login/build.gradle @@ -5,7 +5,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/servlet/spring-boot/java/oauth2/login/build.gradle b/servlet/spring-boot/java/oauth2/login/build.gradle index 2badb38..0ffad5f 100644 --- a/servlet/spring-boot/java/oauth2/login/build.gradle +++ b/servlet/spring-boot/java/oauth2/login/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/servlet/spring-boot/java/oauth2/resource-server/hello-security/build.gradle b/servlet/spring-boot/java/oauth2/resource-server/hello-security/build.gradle index df51ac5..7147d53 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/hello-security/build.gradle +++ b/servlet/spring-boot/java/oauth2/resource-server/hello-security/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/servlet/spring-boot/java/oauth2/resource-server/jwe/build.gradle b/servlet/spring-boot/java/oauth2/resource-server/jwe/build.gradle index 8108a7f..4b4ca47 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/jwe/build.gradle +++ b/servlet/spring-boot/java/oauth2/resource-server/jwe/build.gradle @@ -22,7 +22,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/build.gradle b/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/build.gradle index e43ca3c..bd0042d 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/build.gradle +++ b/servlet/spring-boot/java/oauth2/resource-server/multi-tenancy/build.gradle @@ -22,7 +22,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/servlet/spring-boot/java/oauth2/resource-server/opaque/build.gradle b/servlet/spring-boot/java/oauth2/resource-server/opaque/build.gradle index e3d889a..49f9a23 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/opaque/build.gradle +++ b/servlet/spring-boot/java/oauth2/resource-server/opaque/build.gradle @@ -22,7 +22,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/servlet/spring-boot/java/oauth2/resource-server/static/build.gradle b/servlet/spring-boot/java/oauth2/resource-server/static/build.gradle index 8108a7f..4b4ca47 100644 --- a/servlet/spring-boot/java/oauth2/resource-server/static/build.gradle +++ b/servlet/spring-boot/java/oauth2/resource-server/static/build.gradle @@ -22,7 +22,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/servlet/spring-boot/java/oauth2/webclient/build.gradle b/servlet/spring-boot/java/oauth2/webclient/build.gradle index 9c183f7..e4b5127 100644 --- a/servlet/spring-boot/java/oauth2/webclient/build.gradle +++ b/servlet/spring-boot/java/oauth2/webclient/build.gradle @@ -22,7 +22,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } } diff --git a/servlet/spring-boot/java/saml2-login/build.gradle b/servlet/spring-boot/java/saml2-login/build.gradle index d407a26..8843be6 100644 --- a/servlet/spring-boot/java/saml2-login/build.gradle +++ b/servlet/spring-boot/java/saml2-login/build.gradle @@ -6,7 +6,7 @@ plugins { } repositories { - mavenCentral() + jcenter() maven { url "https://repo.spring.io/snapshot" } }