mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-02 09:33:04 +08:00
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:
parent
d5756f2559
commit
b625d4e8ec
@ -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
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user