diff --git a/buildSrc/src/main/groovy/org/elasticsearch/hadoop/gradle/scala/ScalaVariantPlugin.groovy b/buildSrc/src/main/groovy/org/elasticsearch/hadoop/gradle/scala/ScalaVariantPlugin.groovy index 698c299b2..fc0897f49 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/hadoop/gradle/scala/ScalaVariantPlugin.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/hadoop/gradle/scala/ScalaVariantPlugin.groovy @@ -46,6 +46,8 @@ class ScalaVariantPlugin implements Plugin { properties.put('localRepo', 'true') } + properties.put('build.snapshot', System.getProperty('build.snapshot', 'true')) + if (OperatingSystem.current().isWindows()) { crossBuildForVariant.executable('gradlew.bat') } else {