Skip to content

Commit

Permalink
allow to pull ES from local repo - part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelandis committed Jul 3, 2019
1 parent 0395ac5 commit db92d1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions qa/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ subprojects {
// a local repo if we're currently in the release manager (unlikely, but be future proof).
buildscript {
boolean localRepo = project.getProperties().containsKey("localRepo")
localRepo = false // TODO: Remove this once we can safely depend on build-tools again.
repositories {
jcenter()
mavenCentral()
Expand All @@ -44,11 +43,12 @@ subprojects {
}
}
dependencies {
if (localRepo) {
classpath name: "build-tools-${version}"
} else {
//// TODO: Uncomment this once we can safely depend on build-tools again.
// if (localRepo) {
// classpath name: "build-tools-${version}"
// } else {
classpath group: 'org.elasticsearch.gradle', name: 'build-tools', version: project.ext.buildToolsVersion
}
// }
}
}
}
1 change: 0 additions & 1 deletion qa/kerberos/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ configurations {
}

boolean localRepo = project.getProperties().containsKey("localRepo")
localRepo = false // TODO: Remove this once we can safely depend on build-tools again.

dependencies {
compile project(":elasticsearch-hadoop-mr")
Expand Down

0 comments on commit db92d1d

Please sign in to comment.