Skip to content
Snippets Groups Projects
Verified Commit bc2a3cd4 authored by Jan-Niclas Strüwer's avatar Jan-Niclas Strüwer
Browse files

updated java from version 17 to 21

parent 18d27d28
No related branches found
No related tags found
No related merge requests found
FROM eclipse-temurin:17-jdk AS build FROM eclipse-temurin:21-jdk AS build
ARG profile=prod ARG profile=prod
ENV profileEnv=$profile ENV profileEnv=$profile
...@@ -8,7 +8,7 @@ COPY . /app ...@@ -8,7 +8,7 @@ COPY . /app
RUN ./gradlew clean build -Dspring.profiles.active=${profile} -x test RUN ./gradlew clean build -Dspring.profiles.active=${profile} -x test
RUN mkdir -p build/dependency && (cd build/dependency; jar -xf ../libs/*-SNAPSHOT.jar) RUN mkdir -p build/dependency && (cd build/dependency; jar -xf ../libs/*-SNAPSHOT.jar)
FROM eclipse-temurin:17-jdk FROM eclipse-temurin:21-jdk
ARG profile=prod ARG profile=prod
ENV profileEnv=$profile ENV profileEnv=$profile
......
...@@ -24,7 +24,7 @@ allOpen { ...@@ -24,7 +24,7 @@ allOpen {
group = "de.fraunhofer.iem" group = "de.fraunhofer.iem"
version = "0.0.2-SNAPSHOT" version = "0.0.2-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17 java.sourceCompatibility = JavaVersion.VERSION_21
configurations { configurations {
compileOnly { compileOnly {
extendsFrom(configurations.annotationProcessor.get()) extendsFrom(configurations.annotationProcessor.get())
...@@ -134,7 +134,7 @@ dependencies { ...@@ -134,7 +134,7 @@ dependencies {
tasks.withType<KotlinCompile> { tasks.withType<KotlinCompile> {
kotlinOptions { kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict") freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "17" jvmTarget = "21"
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.