Update the minimum required version of gradle to 2.13

It came out with improvements around idea integration and language levels. This will make it possible to have the upcoming java client as a new project compiled against java 7 and have idea working on the right language level.
This commit is contained in:
javanna 2016-05-26 16:57:50 +02:00 committed by Luca Cavanna
parent cebbf0de41
commit 8c6cbf0305
2 changed files with 1 additions and 2 deletions

View File

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

View File

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