Skip to content

Commit

Permalink
feat(backend): switch to Java 23
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalHonegger committed Nov 1, 2024
1 parent 8b662d2 commit 269f466
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Backend/bootstrap/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ application {
}

kotlin {
jvmToolchain(21)
jvmToolchain(23)
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion Backend/data-access/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

kotlin {
jvmToolchain(21)
jvmToolchain(23)
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion Backend/domain/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

kotlin {
jvmToolchain(21)
jvmToolchain(23)
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion Backend/security/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

kotlin {
jvmToolchain(21)
jvmToolchain(23)
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion Backend/web-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

kotlin {
jvmToolchain(21)
jvmToolchain(23)
}

dependencies {
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ WORKDIR /home/node/src
RUN pnpm i --frozen-lockfile
RUN pnpm build

FROM eclipse-temurin:21-jdk AS buildBackend
FROM eclipse-temurin:23-jdk-alpine AS buildBackend
COPY . /home/gradle/src
COPY --from=buildFrontend /home/node/src/dist /home/gradle/src/Backend/bootstrap/src/main/resources/static
WORKDIR /home/gradle/src
RUN ./gradlew shadowJar --no-daemon

FROM eclipse-temurin:21-jre
FROM eclipse-temurin:23-jre-alpine
EXPOSE 8080:8080
RUN mkdir /app
COPY --from=buildBackend /home/gradle/src/Backend/bootstrap/build/libs/*.jar /app/jasstracker.jar
Expand Down
2 changes: 1 addition & 1 deletion DockerfileBuiltLocally
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:21-jre
FROM eclipse-temurin:23-jre-alpine
EXPOSE 8080:8080
RUN mkdir /app
COPY ./Backend/bootstrap/build/libs/*.jar /app/jasstracker.jar
Expand Down

0 comments on commit 269f466

Please sign in to comment.