Skip to content

Commit

Permalink
Merge pull request #17101 from glefloch/fix/failed-test
Browse files Browse the repository at this point in the history
Update repository declaration order
  • Loading branch information
gsmet authored May 10, 2021
2 parents bdb2deb + 18ed9b3 commit e410c8f
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ plugins {
}

repositories {
mavenCentral()
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
mavenCentral()
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
mavenCentral()
gradlePluginPortal()
}
plugins {
id 'io.quarkus' version "${quarkusPluginVersion}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -13,7 +14,6 @@ repositories {
} else {
mavenLocal()
}
mavenCentral()
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -8,8 +10,6 @@ pluginManagement {
} else {
mavenLocal()
}
mavenCentral()
gradlePluginPortal()
}
plugins {
id 'io.quarkus' version "${quarkusPluginVersion}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -33,7 +34,6 @@ allprojects {
} else {
mavenLocal()
}
mavenCentral()
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -8,8 +10,6 @@ pluginManagement {
} else {
mavenLocal()
}
mavenCentral()
gradlePluginPortal()
}
plugins {
id 'io.quarkus' version "${quarkusPluginVersion}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -14,7 +15,6 @@ repositories {
} else {
mavenLocal()
}
mavenCentral()
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -8,8 +10,6 @@ pluginManagement {
} else {
mavenLocal()
}
mavenCentral()
gradlePluginPortal()
}
plugins {
id 'io.quarkus' version "${quarkusPluginVersion}"
Expand Down

0 comments on commit e410c8f

Please sign in to comment.