diff --git a/Dockerfile b/Dockerfile index 6c4dbd677..d4e71e69a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/build.gradle b/build.gradle index 5b04cf045..6030438d8 100644 --- a/build.gradle +++ b/build.gradle @@ -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()