Revert "Revert "Update the minimum required version of gradle to 2.13""

This reverts commit 0b965167fd.
All the CI machines have been updated to gradle 2.13, we should be ok upgrading the required minimum version.
This commit is contained in:
javanna 2016-05-27 14:40:38 +02:00 committed by Luca Cavanna
parent 0e9f3addd2
commit 1a298c2e6f
2 changed files with 1 additions and 2 deletions

View File

@ -257,7 +257,6 @@ allprojects {
idea { idea {
project { project {
languageLevel = org.elasticsearch.gradle.BuildPlugin.minimumJava.toString()
vcs = 'Git' vcs = 'Git'
} }
} }

View File

@ -113,7 +113,7 @@ class BuildPlugin implements Plugin<Project> {
} }
// enforce gradle version // enforce gradle version
GradleVersion minGradle = GradleVersion.version('2.8') GradleVersion minGradle = GradleVersion.version('2.13')
if (GradleVersion.current() < minGradle) { if (GradleVersion.current() < minGradle) {
throw new GradleException("${minGradle} or above is required to build elasticsearch") throw new GradleException("${minGradle} or above is required to build elasticsearch")
} }