Skip to content

Commit

Permalink
Use JVM 21
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokosi committed May 16, 2024
1 parent 07a8e16 commit c215130
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'

- name: Validate Gradle wrapper
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ application {

kotlin {
jvmToolchain {
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of(17))
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of(21))
}
}

Expand Down
2 changes: 1 addition & 1 deletion generate-executable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ echo "JAR file has been built! ✅"
echo "Install GraalVM via SDKMAN!:"
curl --silent "https://get.sdkman.io?rcupdate=false" | bash || echo 'SDKMAN! already installed'
source "$HOME/.sdkman/bin/sdkman-init.sh"
GRAALVM_VERSION="22.3.1.r17-grl"
GRAALVM_VERSION="22-graalce"
sdkman_auto_answer=true sdk install java $GRAALVM_VERSION > /dev/null || echo "GraalVM $GRAALVM_VERSION already installed."
sdk use java $GRAALVM_VERSION

Expand Down

0 comments on commit c215130

Please sign in to comment.