Skip to content

Commit

Permalink
Merge pull request #28 from CXwudi/java21
Browse files Browse the repository at this point in the history
Upgrade to Java 21
  • Loading branch information
CXwudi authored Dec 27, 2023
2 parents 898d928 + 9a0bafe commit c49887c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'

- name: Give permission to gradlew
Expand Down
2 changes: 1 addition & 1 deletion gradle/plugins/root/src/main/kotlin/my/root/jvm.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {

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

Expand Down

0 comments on commit c49887c

Please sign in to comment.