Skip to content

Commit 0395ac5

Browse files
committed
allow to pull ES from local repo
1 parent 2b9db87 commit 0395ac5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

buildSrc/build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ apply plugin: 'groovy'
77
*/
88

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

1212
Properties props = new Properties()
1313
props.load(project.file('esh-version.properties').newDataInputStream())
@@ -59,11 +59,12 @@ dependencies {
5959
// Provided/Optional Dependencies
6060
compile 'org.springframework.build.gradle:propdeps-plugin:0.0.7'
6161

62-
if (localRepo) {
63-
compile name: "build-tools-${buildToolsVersion}"
64-
} else {
62+
// TODO: Un-comment this once we can safely depend on build-tools again.
63+
// if (localRepo) {
64+
// compile name: "build-tools-${buildToolsVersion}"
65+
// } else {
6566
compile group: 'org.elasticsearch.gradle', name: 'build-tools', version: buildToolsVersion
66-
}
67+
// }
6768
}
6869

6970
// write the updated properties to a temp property file

0 commit comments

Comments
 (0)