attempt to always download latest snapshot
Original commit: elastic/x-pack-elasticsearch@869760c9df
This commit is contained in:
parent
155ee948ef
commit
a77f6df3f2
|
@ -4,6 +4,11 @@ import org.gradle.internal.os.OperatingSystem
|
||||||
import org.gradle.plugins.ide.eclipse.model.SourceFolder
|
import org.gradle.plugins.ide.eclipse.model.SourceFolder
|
||||||
import org.elasticsearch.gradle.precommit.LicenseHeadersTask
|
import org.elasticsearch.gradle.precommit.LicenseHeadersTask
|
||||||
|
|
||||||
|
configurations.all {
|
||||||
|
// check for updates every build
|
||||||
|
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
|
||||||
|
}
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
if (System.getProperty("repos.mavenlocal") != null) {
|
if (System.getProperty("repos.mavenlocal") != null) {
|
||||||
|
@ -19,7 +24,7 @@ buildscript {
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.elasticsearch.gradle:build-tools:${elasticsearchVersion}"
|
classpath group: 'org.elasticsearch.gradle', name: 'build-tools', version: "${elasticsearchVersion}", changing: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue