Skip to content

Commit

Permalink
Explicitly set gradle local repo in test projects
Browse files Browse the repository at this point in the history
  • Loading branch information
glefloch committed Nov 5, 2020
1 parent 285e67d commit d3f2481
Show file tree
Hide file tree
Showing 80 changed files with 716 additions and 130 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
buildscript {

repositories {
if (System.getProperties().containsKey("maven.repo.local")) {
maven(url = System.getProperties().get("maven.repo.local")!!)
} else {
mavenLocal()
}
jcenter()
mavenLocal()
mavenCentral()
gradlePluginPortal()
}
Expand Down Expand Up @@ -35,8 +39,12 @@ subprojects {
}

repositories {
if (System.getProperties().containsKey("maven.repo.local")) {
maven(url = System.getProperties().get("maven.repo.local")!!)
} else {
mavenLocal()
}
jcenter()
mavenLocal()
mavenCentral()
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
pluginManagement {
val quarkusPluginVersion: String by settings
repositories {
mavenLocal()
if (System.getProperties().containsKey("maven.repo.local")) {
maven(url = System.getProperties().get("maven.repo.local")!!)
} else {
mavenLocal()
}
mavenCentral()
gradlePluginPortal()
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
buildscript {

repositories {
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
jcenter()
mavenLocal()
mavenCentral()
gradlePluginPortal()
}
Expand Down Expand Up @@ -31,8 +37,14 @@ subprojects {
}

repositories {
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
jcenter()
mavenLocal()
mavenCentral()
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
pluginManagement {
repositories {
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
jcenter()
mavenLocal()
mavenCentral()
gradlePluginPortal()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ plugins {
}

repositories {
mavenLocal()
mavenCentral()
if (System.getProperties().containsKey("maven.repo.local")) {
maven(url = System.getProperties().get("maven.repo.local")!!)
} else {
mavenLocal()
}
mavenCentral()
}

val quarkusPlatformGroupId: String by project
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
pluginManagement {
val quarkusPluginVersion: String by settings
repositories {
mavenLocal()
if (System.getProperties().containsKey("maven.repo.local")) {
maven(url = System.getProperties().get("maven.repo.local")!!)
} else {
mavenLocal()
}
mavenCentral()
gradlePluginPortal()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ plugins {
}

repositories {
mavenLocal()
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,6 +1,12 @@
pluginManagement {
repositories {
mavenLocal()
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
mavenCentral()
gradlePluginPortal()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ plugins {
}

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
pluginManagement {
repositories {
mavenLocal()
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
mavenCentral()
gradlePluginPortal()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ plugins {
}

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
pluginManagement {
repositories {
mavenLocal()
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
mavenCentral()
gradlePluginPortal()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ plugins {
}

repositories {
mavenLocal()
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,6 +1,12 @@
buildscript {
repositories {
mavenLocal()
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
mavenCentral()
}
}
Expand All @@ -12,7 +18,13 @@ allprojects {

subprojects{
repositories {
mavenLocal()
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
mavenCentral()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@ plugins {
}

repositories {
mavenLocal()
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,6 +1,12 @@
pluginManagement {
repositories {
mavenLocal()
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
mavenCentral()
gradlePluginPortal()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ plugins {
}

repositories {
mavenLocal()
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,6 +1,12 @@
pluginManagement {
repositories {
mavenLocal()
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
mavenCentral()
gradlePluginPortal()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ plugins {
}

repositories {
mavenLocal()
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,6 +1,12 @@
buildscript {
repositories {
mavenLocal()
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
mavenCentral()
}
}
Expand All @@ -12,7 +18,13 @@ allprojects {

subprojects{
repositories {
mavenLocal()
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
mavenCentral()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@ plugins {
}

repositories {
mavenLocal()
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,6 +1,12 @@
pluginManagement {
repositories {
mavenLocal()
if (System.properties.containsKey('maven.repo.local')) {
maven {
url System.properties.get('maven.repo.local')
}
} else {
mavenLocal()
}
mavenCentral()
gradlePluginPortal()
}
Expand Down
Loading

0 comments on commit d3f2481

Please sign in to comment.