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 93575d8 commit 25d0d7f
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 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
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {

dependencyResolutionManagement {
versionCatalogs {
val kotlin = "2.0.21"
val kotlin = "2.1.0-Beta2"
val mockk = "1.13.13"
val ktor = "3.0.1"
val logback = "1.5.12"
Expand Down

0 comments on commit 25d0d7f

Please sign in to comment.