Skip to content

Commit

Permalink
Update to Gradle 8.10.2 and Java 21 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleximenes authored Nov 5, 2024
1 parent 9b78914 commit 1e32a78
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gradle:8.6.0-jdk17-alpine AS build
FROM gradle:8.10.2-jdk21-alpine AS build
USER gradle
WORKDIR /home/gradle/workdir

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

RUN gradle bootJar

FROM eclipse-temurin:17-jre-alpine
FROM eclipse-temurin:21-jre-alpine
VOLUME /tmp
RUN addgroup app
RUN adduser --no-create-home --ingroup app --disabled-password app
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jar {
}

java {
sourceCompatibility = 17
targetCompatibility = 17
sourceCompatibility = 21
targetCompatibility = 21
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 1e32a78

Please sign in to comment.