From b625d4e8ec84b14716c9bf1ba19aaf245ed6ff6a Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Sat, 28 Sep 2024 18:31:17 -0400 Subject: [PATCH] misc(build.gradle): Bump version & Java target compatability this also includes an update to the Dockerfile which bumps the Java version to 21 --- Dockerfile | 4 ++-- build.gradle | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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()