Skip to content

Commit

Permalink
Oppgraderer til JDK 21 (#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
stigebil authored Nov 7, 2023
1 parent ba1779e commit 41175ac
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-deploy-preprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: 'temurin'
cache: 'maven'
- name: Kjør ktlint
Expand All @@ -39,7 +39,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: 'temurin'
cache: 'maven'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: 'temurin'
cache: 'maven'
- name: Bygg med maven + sonar
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/krise-rett-i-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: 'temurin'
cache: 'maven'
- name: Bygg med maven
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/navikt/baseimages/temurin:17
FROM ghcr.io/navikt/baseimages/temurin:21

ENV APP_NAME=familie-baks-mottak
ENV JAVA_OPTS="-XX:MaxRAMPercentage=75"
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<revision>1.0</revision>
<sha1/>
<changelist>-SNAPSHOT</changelist>
<java.version>17</java.version>
<jvmTarget>17</jvmTarget>
<java.version>21</java.version>
<jvmTarget>21</jvmTarget>
<kotlin.version>1.9.20</kotlin.version>
<mockk.version>1.13.8</mockk.version>
<confluent.version>7.5.1</confluent.version>
Expand Down Expand Up @@ -319,7 +319,7 @@
</dependency>
</dependencies>
<configuration>
<jvmTarget>17</jvmTarget>
<jvmTarget>21</jvmTarget>
<compilerPlugins>
<plugin>spring</plugin>
<plugin>jpa</plugin>
Expand Down

0 comments on commit 41175ac

Please sign in to comment.