misc(build.gradle): Bump version & Java target compatability

this also includes an update to the Dockerfile which bumps the Java version to 21
This commit is contained in:
KingRainbow44 2024-09-28 18:31:17 -04:00
parent d5756f2559
commit b625d4e8ec
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# Builder
FROM gradle:jdk17-alpine as builder
FROM gradle:jdk21-alpine as builder
RUN apk add --update nodejs npm
@ -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

View File

@ -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()