Skip to content

Commit

Permalink
Update to java 17
Browse files Browse the repository at this point in the history
Update to java 17, also update the `setup-java` action to `2.3.1`
  • Loading branch information
AntonOellerer committed Sep 30, 2021
1 parent 0c4879c commit cb43ac8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v2.3.1
with:
java-version: 16
java-version: 17
distribution: 'zulu'
- name: Run owasp dependency check
uses: eskatos/gradle-command-action@v1
with:
Expand All @@ -36,7 +37,8 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v2.3.1
with:
java-version: 16
java-version: 17
distribution: 'zulu'
- name: Run checkstyle
uses: eskatos/gradle-command-action@v1
with:
Expand All @@ -52,7 +54,8 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v2.3.1
with:
java-version: 16
java-version: 17
distribution: 'zulu'
- name: Run tests
uses: eskatos/gradle-command-action@v1
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2.3.1
with:
java-version: 16
java-version: 17
distribution: 'zulu'
- uses: eskatos/gradle-command-action@v1
with:
arguments: build -x test -x check publish
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ plugins {
}

group = 'com.docu-tools'
version = '1.0.1'
sourceCompatibility = 16
targetCompatibility = 16
version = '1.0.2'
sourceCompatibility = 17
targetCompatibility = 17

configurations {
compileOnly {
Expand Down

0 comments on commit cb43ac8

Please sign in to comment.