Skip to content

Commit

Permalink
Remove JDK8 from CI (opensearch-project#1703)
Browse files Browse the repository at this point in the history
* Remove JDK8 from CI
* Change Java source and target compatibility to JDK11

Signed-off-by: cliu123 <[email protected]>
  • Loading branch information
cliu123 authored Mar 24, 2022
1 parent b1e2b9d commit acbf68e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: true
matrix:
jdk: [8, 11, 14, 17]
jdk: [11, 14, 17]

steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/plugin_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: true
matrix:
jdk: [8, 11, 14]
jdk: [11, 14]

steps:
- name: Set up JDK
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ version = "${securityPluginVersion}" + (isSnapshot ? "-SNAPSHOT" : "")
description = 'OpenSearch Security'


java.sourceCompatibility = JavaVersion.VERSION_1_8
java.targetCompatibility = JavaVersion.VERSION_1_8
java.sourceCompatibility = JavaVersion.VERSION_11
java.targetCompatibility = JavaVersion.VERSION_11

tasks.register('testsJar', Jar) {
archiveClassifier = 'tests'
Expand Down

0 comments on commit acbf68e

Please sign in to comment.