Skip to content

Commit 736cad3

Browse files
committed
Raise minimum required Java version to 17
1 parent 42dfdae commit 736cad3

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/gradle.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
java: [ '11', '17', '21', '25' ]
14+
java: [ '17', '21', '25' ]
1515

1616
steps:
1717
- uses: actions/checkout@v2
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup Java
3737
uses: actions/setup-java@v1
3838
with:
39-
java-version: 11
39+
java-version: 17
4040
- name: Build with Gradle
4141
run: ./gradlew jacocoTestReport
4242
- name: Upload coverage reports to Codecov

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ try (SshProxy sshProxy = new SshProxy()) {
5757

5858
## Dependencies ##
5959

60-
- Java 11+
60+
- Java 17+
6161
- [JSch (with JZlib)][jsch]
6262

6363
[jsch]: http://www.jcraft.com/jsch/

‎build.gradle‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ if (System.env.BUILD_NUMBER) {
2525
}
2626

2727
java {
28-
sourceCompatibility = JavaVersion.VERSION_11
29-
targetCompatibility = JavaVersion.VERSION_11
28+
sourceCompatibility = JavaVersion.VERSION_17
29+
targetCompatibility = JavaVersion.VERSION_17
3030
}
3131

3232
tasks.withType(JavaCompile) {

0 commit comments

Comments
 (0)