Skip to content

Commit

Permalink
update to Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Sep 26, 2023
1 parent b9e5c7e commit e7b99a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up JDK 20
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 20
java-version: 21
cache: gradle
- name: Build with Gradle
run: ./gradlew build --no-daemon
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(20))
languageVersion.set(JavaLanguageVersion.of(21))
}
}

Expand Down

0 comments on commit e7b99a7

Please sign in to comment.