From 1a298c2e6f05ea140d300efa4e2312d924ffc4fb Mon Sep 17 00:00:00 2001 From: javanna Date: Fri, 27 May 2016 14:40:38 +0200 Subject: [PATCH] Revert "Revert "Update the minimum required version of gradle to 2.13"" This reverts commit 0b965167fd43a807d9dcaa43e876a5fac0ccf0cb. All the CI machines have been updated to gradle 2.13, we should be ok upgrading the required minimum version. --- build.gradle | 1 - .../src/main/groovy/org/elasticsearch/gradle/BuildPlugin.groovy | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 3f0895a4e75..b52d299ad94 100644 --- a/build.gradle +++ b/build.gradle @@ -257,7 +257,6 @@ allprojects { idea { project { - languageLevel = org.elasticsearch.gradle.BuildPlugin.minimumJava.toString() vcs = 'Git' } } diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/BuildPlugin.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/BuildPlugin.groovy index 256aa70fdca..8d77e7a9a34 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/BuildPlugin.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/BuildPlugin.groovy @@ -113,7 +113,7 @@ class BuildPlugin implements Plugin { } // 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") }