From 18ed9b36e0332d9c8ab39060e90cdc27b5a98fcb Mon Sep 17 00:00:00 2001 From: Guillaume Le Floch Date: Mon, 10 May 2021 09:04:03 +0200 Subject: [PATCH] Update repository declaration order --- .../test/resources/bean-in-testsources-project/build.gradle | 2 +- .../resources/bean-in-testsources-project/settings.gradle | 4 ++-- .../src/test/resources/kotlin-grpc-project/build.gradle | 2 +- .../src/test/resources/kotlin-grpc-project/settings.gradle | 4 ++-- .../test/resources/multi-module-kotlin-project/build.gradle | 2 +- .../resources/multi-module-kotlin-project/settings.gradle | 4 ++-- .../src/test/resources/multi-source-project/build.gradle | 2 +- .../src/test/resources/multi-source-project/settings.gradle | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/integration-tests/gradle/src/test/resources/bean-in-testsources-project/build.gradle b/integration-tests/gradle/src/test/resources/bean-in-testsources-project/build.gradle index 2595643b73560..970cb4931194d 100644 --- a/integration-tests/gradle/src/test/resources/bean-in-testsources-project/build.gradle +++ b/integration-tests/gradle/src/test/resources/bean-in-testsources-project/build.gradle @@ -6,6 +6,7 @@ plugins { } repositories { + mavenCentral() if (System.properties.containsKey('maven.repo.local')) { maven { url System.properties.get('maven.repo.local') @@ -13,7 +14,6 @@ repositories { } else { mavenLocal() } - mavenCentral() } dependencies { diff --git a/integration-tests/gradle/src/test/resources/bean-in-testsources-project/settings.gradle b/integration-tests/gradle/src/test/resources/bean-in-testsources-project/settings.gradle index 38ef9ad777b32..2342a44865b5c 100644 --- a/integration-tests/gradle/src/test/resources/bean-in-testsources-project/settings.gradle +++ b/integration-tests/gradle/src/test/resources/bean-in-testsources-project/settings.gradle @@ -1,5 +1,7 @@ pluginManagement { repositories { + mavenCentral() + gradlePluginPortal() if (System.properties.containsKey('maven.repo.local')) { maven { url System.properties.get('maven.repo.local') @@ -7,8 +9,6 @@ pluginManagement { } else { mavenLocal() } - mavenCentral() - gradlePluginPortal() } plugins { id 'io.quarkus' version "${quarkusPluginVersion}" diff --git a/integration-tests/gradle/src/test/resources/kotlin-grpc-project/build.gradle b/integration-tests/gradle/src/test/resources/kotlin-grpc-project/build.gradle index 3067cf79331d9..31a6214b5986d 100644 --- a/integration-tests/gradle/src/test/resources/kotlin-grpc-project/build.gradle +++ b/integration-tests/gradle/src/test/resources/kotlin-grpc-project/build.gradle @@ -5,6 +5,7 @@ plugins { } repositories { + mavenCentral() // in case a custom local repo is configured we are going to use that instead of the default mavenLocal() if (System.properties.containsKey('maven.repo.local')) { maven { @@ -13,7 +14,6 @@ repositories { } else { mavenLocal() } - mavenCentral() } dependencies { diff --git a/integration-tests/gradle/src/test/resources/kotlin-grpc-project/settings.gradle b/integration-tests/gradle/src/test/resources/kotlin-grpc-project/settings.gradle index 5c456b715cba6..9fb4b0f54c909 100644 --- a/integration-tests/gradle/src/test/resources/kotlin-grpc-project/settings.gradle +++ b/integration-tests/gradle/src/test/resources/kotlin-grpc-project/settings.gradle @@ -1,5 +1,7 @@ pluginManagement { repositories { + mavenCentral() + gradlePluginPortal() // in case a custom local repo is configured we are going to use that instead of the default mavenLocal() if (System.properties.containsKey('maven.repo.local')) { maven { @@ -8,8 +10,6 @@ pluginManagement { } else { mavenLocal() } - mavenCentral() - gradlePluginPortal() } plugins { id 'io.quarkus' version "${quarkusPluginVersion}" diff --git a/integration-tests/gradle/src/test/resources/multi-module-kotlin-project/build.gradle b/integration-tests/gradle/src/test/resources/multi-module-kotlin-project/build.gradle index 80eb748e32188..61287b2b39654 100644 --- a/integration-tests/gradle/src/test/resources/multi-module-kotlin-project/build.gradle +++ b/integration-tests/gradle/src/test/resources/multi-module-kotlin-project/build.gradle @@ -25,6 +25,7 @@ allprojects { } repositories { + mavenCentral() // in case a custom local repo is configured we are going to use that instead of the default mavenLocal() if (System.properties.containsKey('maven.repo.local')) { maven { @@ -33,7 +34,6 @@ allprojects { } else { mavenLocal() } - mavenCentral() } dependencies { diff --git a/integration-tests/gradle/src/test/resources/multi-module-kotlin-project/settings.gradle b/integration-tests/gradle/src/test/resources/multi-module-kotlin-project/settings.gradle index 980dd275427ab..bbdfa72a9c1b2 100644 --- a/integration-tests/gradle/src/test/resources/multi-module-kotlin-project/settings.gradle +++ b/integration-tests/gradle/src/test/resources/multi-module-kotlin-project/settings.gradle @@ -1,5 +1,7 @@ pluginManagement { repositories { + mavenCentral() + gradlePluginPortal() // in case a custom local repo is configured we are going to use that instead of the default mavenLocal() if (System.properties.containsKey('maven.repo.local')) { maven { @@ -8,8 +10,6 @@ pluginManagement { } else { mavenLocal() } - mavenCentral() - gradlePluginPortal() } plugins { id 'io.quarkus' version "${quarkusPluginVersion}" diff --git a/integration-tests/gradle/src/test/resources/multi-source-project/build.gradle b/integration-tests/gradle/src/test/resources/multi-source-project/build.gradle index 27664041d622e..3f8df9a1a3e65 100644 --- a/integration-tests/gradle/src/test/resources/multi-source-project/build.gradle +++ b/integration-tests/gradle/src/test/resources/multi-source-project/build.gradle @@ -6,6 +6,7 @@ plugins { } repositories { + mavenCentral() // in case a custom local repo is configured we are going to use that instead of the default mavenLocal() if (System.properties.containsKey('maven.repo.local')) { maven { @@ -14,7 +15,6 @@ repositories { } else { mavenLocal() } - mavenCentral() } dependencies { diff --git a/integration-tests/gradle/src/test/resources/multi-source-project/settings.gradle b/integration-tests/gradle/src/test/resources/multi-source-project/settings.gradle index 5c456b715cba6..9fb4b0f54c909 100644 --- a/integration-tests/gradle/src/test/resources/multi-source-project/settings.gradle +++ b/integration-tests/gradle/src/test/resources/multi-source-project/settings.gradle @@ -1,5 +1,7 @@ pluginManagement { repositories { + mavenCentral() + gradlePluginPortal() // in case a custom local repo is configured we are going to use that instead of the default mavenLocal() if (System.properties.containsKey('maven.repo.local')) { maven { @@ -8,8 +10,6 @@ pluginManagement { } else { mavenLocal() } - mavenCentral() - gradlePluginPortal() } plugins { id 'io.quarkus' version "${quarkusPluginVersion}"