Skip to content

Commit 1e32a78

Browse files
authored
Update to Gradle 8.10.2 and Java 21 (#8)
1 parent 9b78914 commit 1e32a78

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM gradle:8.6.0-jdk17-alpine AS build
1+
FROM gradle:8.10.2-jdk21-alpine AS build
22
USER gradle
33
WORKDIR /home/gradle/workdir
44

@@ -8,7 +8,7 @@ COPY --chown=gradle:gradle src src
88

99
RUN gradle bootJar
1010

11-
FROM eclipse-temurin:17-jre-alpine
11+
FROM eclipse-temurin:21-jre-alpine
1212
VOLUME /tmp
1313
RUN addgroup app
1414
RUN adduser --no-create-home --ingroup app --disabled-password app

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jar {
2121
}
2222

2323
java {
24-
sourceCompatibility = 17
25-
targetCompatibility = 17
24+
sourceCompatibility = 21
25+
targetCompatibility = 21
2626
}
2727

2828
repositories {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)