attempt to always download latest snapshot

Original commit: elastic/x-pack-elasticsearch@869760c9df
This commit is contained in:
Martijn van Groningen 2016-11-18 09:34:18 +01:00
parent 155ee948ef
commit a77f6df3f2
1 changed files with 6 additions and 1 deletions

View File

@ -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
} }
} }