Skip to content

Commit

Permalink
Use Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
BolZer committed Jun 11, 2024
1 parent 66a8b5f commit bf36d37
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '20'
java-version: '21'
cache: 'gradle'

- name: Setup Gradle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '20'
java-version: '21'
cache: 'gradle'

- name: Setup Gradle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '20'
java-version: '21'
cache: 'gradle'

- name: Setup Gradle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spotbugs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '20'
java-version: '21'
cache: 'gradle'

- name: Setup Gradle
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
strategy:
matrix:
include:
- { operating-system: 'ubuntu-latest', java-version: '19' }
- { operating-system: 'ubuntu-latest', java-version: '21' }

runs-on: ${{ matrix.operating-system }}
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ group = "io.github.easybill"
version = ""

java {
sourceCompatibility = JavaVersion.VERSION_19
targetCompatibility = JavaVersion.VERSION_19
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}

spotbugs {
Expand Down

0 comments on commit bf36d37

Please sign in to comment.