Skip to content

Commit 1409d8c

Browse files
committed
BE: Migrate to Java 25
1 parent 5a44fcf commit 1409d8c

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

api/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# The tag is ignored when a sha is included but the reason to add it are:
22
# 1. Self Documentation: It is difficult to find out what the expected tag is given a sha alone
33
# 2. Helps dependabot during discovery of upgrades
4-
FROM azul/zulu-openjdk-alpine:21.0.8-jre-headless@sha256:48356cf1b81243b6e236509bb6ae281969fc0eade03f622220973a4e224cd768
4+
# We include the SHA to ensure image immutability
5+
FROM azul/zulu-openjdk-alpine:25.0.1-jre-headless@sha256:5499f0c1453d7e7111501b28b21f173b1ec88a48719b7d5b060b0e6461c315b3
56

67
RUN apk add --no-cache \
78
# snappy codec

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ subprojects {
88
apply plugin: "java"
99

1010
java {
11-
sourceCompatibility = JavaVersion.VERSION_21
12-
targetCompatibility = JavaVersion.VERSION_21
11+
sourceCompatibility = JavaVersion.VERSION_25
12+
targetCompatibility = JavaVersion.VERSION_25
1313
}
1414
}
1515

contract-typespec/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ plugins {
55

66

77
java {
8-
sourceCompatibility = JavaVersion.VERSION_21
9-
targetCompatibility = JavaVersion.VERSION_21
8+
sourceCompatibility = JavaVersion.VERSION_25
9+
targetCompatibility = JavaVersion.VERSION_25
1010
}
1111

1212

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ apache-commons-compress = '1.26.0'
1313

1414
assertj = '3.25.3'
1515
avro = '1.11.4'
16-
byte-buddy = '1.14.19'
16+
byte-buddy = '1.18.1'
1717
confluent = '7.9.2'
1818
confluent-ccs = '7.9.0-ccs'
1919

0 commit comments

Comments
 (0)