Skip to content

Commit

Permalink
chore: bump JVM from 17 to 21
Browse files Browse the repository at this point in the history
  • Loading branch information
kaibernhard committed May 13, 2024
1 parent 65a76ac commit 4371ec5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: "17.0"
java-version: "21.0"
distribution: "temurin"
- name: Setup Gradle
uses: gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 # v3.3.0
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: "17.0"
java-version: "21.0"
distribution: "temurin"
- name: Setup Gradle
uses: gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 # v3.3.0
Expand All @@ -77,7 +77,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: "17.0"
java-version: "21.0"
distribution: "temurin"
- name: Setup Gradle
uses: gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 # v3.3.0
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: "17.0"
java-version: "21.0"
distribution: "temurin"
- name: Cache SonarQube packages
uses: actions/cache@v4
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: "17.0"
java-version: "21.0"
distribution: "temurin"
- name: Setup Gradle
uses: gradle/actions/setup-gradle@db19848a5fa7950289d3668fb053140cf3028d43 # v3.3.0
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Kotlin service built with the [Spring WebFlux reactive stack](https://docs.sprin

## Prerequisites

Kotlin 1.9 w/ Java 17, Docker for building + running the containerized application:
Kotlin 1.9 w/ Java 21, Docker for building + running the containerized application:

```bash
brew install openjdk@17
brew install openjdk@21
brew install --cask docker # or just `brew install docker` if you don't want the Desktop app
```

Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ plugins {

group = "de.bund.digitalservice"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17
java.sourceCompatibility = JavaVersion.VERSION_21

repositories {
mavenCentral()
Expand Down Expand Up @@ -98,7 +98,7 @@ tasks {
withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "17"
jvmTarget = "21"
}
}

Expand Down

0 comments on commit 4371ec5

Please sign in to comment.