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'