Skip to content

Commit

Permalink
misc(build.gradle): Bump version & Java target compatability
Browse files Browse the repository at this point in the history
this also includes an update to the Dockerfile which bumps the Java version to 21
  • Loading branch information
KingRainbow44 committed Sep 28, 2024
1 parent d5756f2 commit b625d4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Builder
FROM gradle:jdk17-alpine as builder
FROM gradle:jdk21-alpine as builder

RUN apk add --update nodejs npm

Expand All @@ -19,7 +19,7 @@ WORKDIR /app
RUN git clone --branch ${DATA_BRANCH} --depth 1 ${DATA_REPOSITORY}

# Result Container
FROM amazoncorretto:17-alpine
FROM amazoncorretto:21-alpine

WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'

sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_21

group = 'io.grasscutter'
version = '1.7.4'
version = '1.7.5-dev'

java {
withJavadocJar()
Expand Down

0 comments on commit b625d4e

Please sign in to comment.