Skip to content

Commit

Permalink
Update to Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
henrist committed Mar 28, 2024
1 parent 3c34c82 commit 09c8014
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
java-version: 21

- uses: gradle/actions/setup-gradle@v3

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:18-jre-alpine@sha256:ae4122ed93a30f14cb60f2a758357262b0ae47c3f4a043374a742e229a8e329d
FROM eclipse-temurin:21.0.2_13-jre-alpine@sha256:f153dfdd10e9846963676aa6ea8b8630f150a63c8e5fe127c93e98eb10b86766

COPY build/libs/users-api-1.0-SNAPSHOT-all.jar /users-api.jar

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ database.

## Development

Ensure you have JDK 17 or newer on your system. If not install it through SDKMAN!
Ensure you have JDK 21 or newer on your system. If not install it through SDKMAN!
See https://sdkman.io

The LDAP servers are located at `ldap.zt.foreningenbs.no`. To be able
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ apply(plugin = "com.karumi.kotlin-snapshot")

tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "17"
jvmTarget = "21"
}
}

Expand Down

0 comments on commit 09c8014

Please sign in to comment.