Skip to content

Commit 7d57239

Browse files
committed
Check for java 11 in buildSrc (#35260)
1 parent 45e16b5 commit 7d57239

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildSrc/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ processResources {
6868
* Java version *
6969
*****************************************************************************/
7070

71-
if (JavaVersion.current() < JavaVersion.VERSION_1_10) {
72-
throw new GradleException('At least Java 10 is required to build elasticsearch gradle tools')
71+
if (JavaVersion.current() < JavaVersion.VERSION_11) {
72+
throw new GradleException('At least Java 11 is required to build elasticsearch gradle tools')
7373
}
7474
// Gradle 4.10 does not support setting this to 11 yet
7575
targetCompatibility = "10"

0 commit comments

Comments
 (0)