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:
parent
0e9f3addd2
commit
1a298c2e6f
|
@ -257,7 +257,6 @@ allprojects {
|
||||||
|
|
||||||
idea {
|
idea {
|
||||||
project {
|
project {
|
||||||
languageLevel = org.elasticsearch.gradle.BuildPlugin.minimumJava.toString()
|
|
||||||
vcs = 'Git'
|
vcs = 'Git'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue