Skip to content

Commit

Permalink
don't use maven local on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
purplefox committed Apr 20, 2013
1 parent 9848f48 commit 8378dae
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions gradle/vertx.gradle
Expand Up @@ -55,7 +55,7 @@ configurations {
}

repositories {
if (System.getenv("JENKINS_HOME") == null) {
if (System.getenv("VERTX_DISABLE_MAVENLOCAL") == null) {
// We don't want to use mavenLocal when running on CI - mavenLocal is only useful in Gradle for
// publishing artifacts locally for development purposes - maven local is also not threadsafe when there
// are concurrent builds
Expand All @@ -76,7 +76,12 @@ dependencies {
buildscript {

repositories {
mavenLocal()
if (System.getenv("VERTX_DISABLE_MAVENLOCAL") == null) {
// We don't want to use mavenLocal when running on CI - mavenLocal is only useful in Gradle for
// publishing artifacts locally for development purposes - maven local is also not threadsafe when there
// are concurrent builds
mavenLocal()
}
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
mavenCentral()
}
Expand Down

0 comments on commit 8378dae

Please sign in to comment.