From 6941cb5181e80c5bd9cc1ea016f00adf7dfac202 Mon Sep 17 00:00:00 2001 From: Bharathwaj G Date: Wed, 16 Mar 2022 09:37:42 +0530 Subject: [PATCH] Remove jdk 8 Signed-off-by: Bharathwaj G --- .github/workflows/build.yml | 1 - build.gradle | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c51a9c02..5228d6d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,6 @@ jobs: strategy: matrix: java: - - 8 - 11 - 14 # Job name diff --git a/build.gradle b/build.gradle index 678d8954..84977bae 100644 --- a/build.gradle +++ b/build.gradle @@ -71,8 +71,8 @@ ext { noticeFile = rootProject.file('NOTICE.txt') } -sourceCompatibility = 1.8 -targetCompatibility = 1.8 +sourceCompatibility = JavaVersion.VERSION_11 +targetCompatibility = JavaVersion.VERSION_11 allprojects { group 'org.opensearch'