Skip to content

Commit 127091c

Browse files
committed
update deps
1 parent 8be6e90 commit 127091c

File tree

20 files changed

+144
-118
lines changed

20 files changed

+144
-118
lines changed

.github/workflows/actions_build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
env:
1818
LC_ALL: "en_US.UTF-8"
19-
BUILD_JDK_VERSION: "21"
19+
BUILD_JDK_VERSION: "25"
2020

2121
jobs:
2222
build:
@@ -53,21 +53,21 @@ jobs:
5353
shell: bash
5454
- uses: actions/checkout@v4
5555

56-
- id: setup-build-jdk
57-
name: Set up build JDK ${{ env.BUILD_JDK_VERSION }}
58-
uses: actions/setup-java@v4
59-
with:
60-
distribution: 'temurin'
61-
java-version: ${{ env.BUILD_JDK_VERSION }}
62-
6356
- id: setup-test-jdk
6457
if: ${{ matrix.java != env.BUILD_JDK_VERSION }}
6558
name: Set up test JDK ${{ matrix.java }}
6659
uses: actions/setup-java@v4
6760
with:
68-
distribution: 'temurin'
61+
distribution: 'zulu'
6962
java-version: ${{ matrix.java }}
7063

64+
- id: setup-build-jdk
65+
name: Set up build JDK ${{ env.BUILD_JDK_VERSION }}
66+
uses: actions/setup-java@v4
67+
with:
68+
distribution: 'zulu'
69+
java-version: ${{ env.BUILD_JDK_VERSION }}
70+
7171
- name: Setup Gradle
7272
uses: gradle/actions/setup-gradle@v5
7373

@@ -156,7 +156,7 @@ jobs:
156156
name: Set up JDK ${{ env.BUILD_JDK_VERSION }}
157157
uses: actions/setup-java@v4
158158
with:
159-
distribution: 'temurin'
159+
distribution: 'zulu'
160160
java-version: ${{ env.BUILD_JDK_VERSION }}
161161

162162
- name: Setup Gradle
@@ -180,7 +180,7 @@ jobs:
180180
name: Set up JDK ${{ env.BUILD_JDK_VERSION }}
181181
uses: actions/setup-java@v4
182182
with:
183-
distribution: 'temurin'
183+
distribution: 'zulu'
184184
java-version: ${{ env.BUILD_JDK_VERSION }}
185185

186186
- name: Setup Gradle
@@ -204,7 +204,7 @@ jobs:
204204
name: Set up JDK ${{ env.BUILD_JDK_VERSION }}
205205
uses: actions/setup-java@v3
206206
with:
207-
distribution: 'temurin'
207+
distribution: 'zulu'
208208
java-version: ${{ env.BUILD_JDK_VERSION }}
209209

210210
- name: Setup Gradle

.github/workflows/publish-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818

19-
- id: setup-jdk-21
20-
name: Set up JDK 21
19+
- id: setup-jdk-25
20+
name: Set up JDK 25
2121
uses: actions/setup-java@v4
2222
with:
23-
distribution: 'temurin'
24-
java-version: '21'
23+
distribution: 'zulu'
24+
java-version: '25'
2525

2626
- name: Setup Gradle
2727
uses: gradle/actions/setup-gradle@v5

.github/workflows/publish-site.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
run: |
2020
sudo apt-get -y install graphviz
2121
22-
- id: setup-jdk-21
23-
name: Set up JDK 21
22+
- id: setup-jdk-25
23+
name: Set up JDK 25
2424
uses: actions/setup-java@v4
2525
with:
26-
distribution: 'temurin'
27-
java-version: '21'
26+
distribution: 'zulu'
27+
java-version: '25'
2828

2929
- name: Setup Gradle
3030
uses: gradle/actions/setup-gradle@v5

.github/workflows/tag-new-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ jobs:
4949
git_user_signingkey: true
5050
git_commit_gpgsign: true
5151

52-
- id: setup-jdk-21
53-
name: Set up JDK 21
52+
- id: setup-jdk-25
53+
name: Set up JDK 25
5454
uses: actions/setup-java@v4
5555
with:
56-
distribution: 'temurin'
57-
java-version: '21'
56+
distribution: 'zulu'
57+
java-version: '25'
5858

5959
- name: Set up Gradle
6060
uses: gradle/actions/setup-gradle@v5

bom/build.gradle

Whitespace-only changes.

build.gradle

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,6 @@ configure(projectsWithFlags('java')) {
108108
testRuntimeOnly libs.junit5.vintage.engine
109109
}
110110

111-
// Target Java 8 except for spring-boot3
112-
if (!project.name.startsWith("java-spring-boot3")) {
113-
tasks.withType(JavaCompile) {
114-
if (JavaVersion.current() >= JavaVersion.VERSION_1_9) {
115-
options.release = 8
116-
}
117-
}
118-
}
119-
120111
// Add common JVM options such as max memory and leak detection.
121112
tasks.withType(JavaForkOptions) {
122113
// Use larger heap when test coverage is enabled.

client/java-armeria-xds/build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ dependencies {
44
// Armeria
55
api libs.armeria.xds
66

7-
testImplementation libs.controlplane.server
8-
testImplementation libs.controlplane.cache
7+
testImplementation (libs.controlplane.server) {
8+
exclude group: "io.envoyproxy.controlplane"
9+
}
10+
testImplementation (libs.controlplane.cache) {
11+
exclude group: "io.envoyproxy.controlplane"
12+
}
13+
914
testImplementation libs.armeria.junit5
1015
testImplementation libs.jackson.dataformat.yaml
1116
}

client/java-armeria-xds/src/main/java/com/linecorp/centraldogma/client/armeria/xds/XdsCentralDogmaBuilder.java

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@
5757
import io.envoyproxy.envoy.config.cluster.v3.Cluster;
5858
import io.envoyproxy.envoy.config.cluster.v3.Cluster.DiscoveryType;
5959
import io.envoyproxy.envoy.config.core.v3.Address;
60+
import io.envoyproxy.envoy.config.core.v3.AggregatedConfigSource;
6061
import io.envoyproxy.envoy.config.core.v3.ApiConfigSource;
6162
import io.envoyproxy.envoy.config.core.v3.ApiConfigSource.ApiType;
63+
import io.envoyproxy.envoy.config.core.v3.ConfigSource;
6264
import io.envoyproxy.envoy.config.core.v3.GrpcService;
6365
import io.envoyproxy.envoy.config.core.v3.GrpcService.EnvoyGrpc;
6466
import io.envoyproxy.envoy.config.core.v3.HeaderValue;
@@ -269,8 +271,13 @@ private XdsBootstrap xdsBootstrap() {
269271
.addGrpcServices(grpcService)
270272
.setApiType(ApiType.AGGREGATED_GRPC)
271273
.build();
274+
final AggregatedConfigSource ads = AggregatedConfigSource.getDefaultInstance();
272275
final DynamicResources dynamicResources =
273-
DynamicResources.newBuilder().setAdsConfig(apiConfigSource).build();
276+
DynamicResources.newBuilder()
277+
.setLdsConfig(ConfigSource.newBuilder().setAds(ads))
278+
.setCdsConfig(ConfigSource.newBuilder().setAds(ads))
279+
.setAdsConfig(apiConfigSource)
280+
.build();
274281
final Bootstrap bootstrap =
275282
Bootstrap.newBuilder()
276283
.setClusterManager(ClusterManager.newBuilder()
@@ -300,7 +307,9 @@ private Cluster bootstrapCluster() {
300307
localityLbEndpointsBuilder.addLbEndpoints(lbEndpoint);
301308
}
302309
final ClusterLoadAssignment clusterLoadAssignment =
303-
ClusterLoadAssignment.newBuilder().addEndpoints(localityLbEndpointsBuilder.build()).build();
310+
ClusterLoadAssignment.newBuilder()
311+
.setClusterName(BOOTSTRAP_CLUSTER_NAME)
312+
.addEndpoints(localityLbEndpointsBuilder.build()).build();
304313

305314
if (isUseTls()) {
306315
clusterBuilder.setTransportSocket(

dependencies.toml

Lines changed: 33 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
# If its classes are exposed in Javadoc, update offline links as well.
44
#
55
[versions]
6-
armeria = "1.33.4"
7-
assertj = "3.27.4"
6+
armeria = "1.34.0"
7+
assertj = "3.27.6"
88
awaitility = "4.3.0"
9-
bouncycastle = "1.81"
10-
caffeine = "3.2.2"
9+
bouncycastle = "1.83"
10+
caffeine = "3.2.3"
1111
checkstyle = "10.3.3"
1212
conscrypt = "2.5.2"
1313
controlplane = "1.0.49"
@@ -19,17 +19,17 @@ curator = "5.9.0"
1919
cron-utils = "9.2.0"
2020
diffutils = "1.3.0"
2121
download = "5.6.0"
22-
dropwizard-metrics = "4.2.33"
22+
dropwizard-metrics = "4.2.37"
2323
eddsa = "0.3.0"
2424
findbugs = "3.0.2"
2525
futures-completable = "0.3.6"
26-
grpc-java = "1.74.0"
27-
guava = "33.4.8-jre"
26+
grpc-java = "1.77.0"
27+
guava = "33.5.0-jre"
2828
guava-failureaccess = "1.0.1"
29-
hamcrest-library = "2.2"
29+
hamcrest-library = "3.0"
3030
hibernate-validator6 = "6.2.5.Final"
31-
hibernate-validator8 = "8.0.1.Final"
32-
jackson = "2.19.2"
31+
hibernate-validator8 = "8.0.3.Final"
32+
jackson = "2.20.1"
3333
javassist = "3.30.2-GA"
3434
javax-annotation = "1.3.2"
3535
javax-inject = "1"
@@ -40,34 +40,35 @@ jetty-alpn-agent = "2.0.10"
4040
# JGit 7.x.x requires Java 17
4141
jgit6 = "6.10.0.202406032230-r"
4242
junit4 = "4.13.2"
43-
junit5 = "5.13.4"
43+
junit5 = "5.14.1"
4444
junit-pioneer = "2.3.0"
4545
jsch = "0.1.55"
4646
# Don't update `json-path` version
4747
json-path = "2.2.0"
4848
# 3.0.0 requires java 17
4949
json-unit = "2.38.0"
50-
jsoup = "1.21.1" # JSoup is only used for Gradle script.
50+
jsoup = "1.21.2" # JSoup is only used for Gradle script.
5151
jmh-core = "1.37"
5252
jmh-gradle-plugin = "0.7.3"
5353
jxr = "0.2.1"
54-
kubernetes-client = "7.3.1"
54+
kubernetes-client = "7.4.0"
5555
logback15 = "1.5.7"
56-
micrometer = "1.15.2"
57-
mina-sshd = "2.15.0"
58-
mockito = "5.18.0"
59-
nimbus-jose-jwt = "10.5"
56+
micrometer = "1.16.0"
57+
mina-sshd = "2.16.0"
58+
mockito = "5.20.0"
59+
nimbus-jose-jwt = "10.6"
6060
nexus-publish-plugin = "2.0.0"
6161
node-gradle-plugin = "7.1.0"
6262
osdetector = "1.7.3"
63-
owasp = "1.3.1"
64-
proguard = "7.4.2"
65-
protobuf = "3.25.5"
66-
protobuf-gradle-plugin = "0.8.19"
67-
quartz = "2.3.2"
63+
owasp = "1.4.0"
64+
proguard = "7.8.1"
65+
protobuf = "3.25.8"
66+
protobuf-gradle-plugin = "0.9.5"
67+
protoc-gen-validate = "1.2.1"
68+
quartz = "2.5.1"
6869
reflections = "0.9.11"
69-
rocksdb = "10.2.1"
70-
shadow-gradle-plugin = "7.1.2"
70+
rocksdb = "10.4.2"
71+
shadow-gradle-plugin = "8.3.9"
7172
# Don't update `shiro` version
7273
shiro = "1.3.2"
7374
slf4j2 = "2.0.17"
@@ -76,15 +77,15 @@ slf4j2 = "2.0.17"
7677
snappy = "1.1.10.5"
7778
sphinx = "2.10.1"
7879
spring-boot2 = "2.7.18"
79-
spring-boot3 = "3.5.4"
80+
spring-boot3 = "3.5.8"
8081
spring-test-junit5 = "1.5.0"
8182
testcontainers = "1.21.3"
8283
thrift09 = { strictly = "0.9.3-1" }
8384
# Ensure that we use the same ZooKeeper version as what Curator depends on.
8485
# See: https://github.com/apache/curator/blob/master/pom.xml
8586
# (Switch to the right tag to find out the right version.)
8687
zookeeper = "3.9.3"
87-
zstd = "1.5.7-4"
88+
zstd = "1.5.7-6"
8889

8990
[boms]
9091
armeria = { module = "com.linecorp.armeria:armeria-bom", version.ref = "armeria" }
@@ -109,6 +110,8 @@ module = "com.linecorp.armeria:armeria-saml"
109110
module = "com.linecorp.armeria:armeria-thrift0.9"
110111
[libraries.armeria-xds]
111112
module = "com.linecorp.armeria:armeria-xds"
113+
[libraries.armeria-xds-api]
114+
module = "com.linecorp.armeria:armeria-xds-api"
112115

113116
[libraries.assertj]
114117
module = "org.assertj:assertj-core"
@@ -378,6 +381,9 @@ version.ref = "protobuf"
378381
[libraries.protobuf-gradle-plugin]
379382
module = "com.google.protobuf:protobuf-gradle-plugin"
380383
version.ref = "protobuf-gradle-plugin"
384+
[libraries.pgv-java-stub]
385+
module = "build.buf.protoc-gen-validate:pgv-java-stub"
386+
version.ref = "protoc-gen-validate"
381387

382388
[libraries.quartz]
383389
module = "org.quartz-scheduler:quartz"
@@ -396,7 +402,7 @@ module = "org.rocksdb:rocksdbjni"
396402
version.ref = "rocksdb"
397403

398404
[libraries.shadow-gradle-plugin]
399-
module = "gradle.plugin.com.github.johnrengelman:shadow"
405+
module = "com.gradleup.shadow:com.gradleup.shadow.gradle.plugin"
400406
version.ref = "shadow-gradle-plugin"
401407

402408
[libraries.shiro-core]

dist/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ task copyClientBinaries(group: 'Build',
136136
from sourceFile
137137
into nativeDir
138138
rename { targetFileName }
139-
fileMode 0755
139+
filePermissions { permissions ->
140+
permissions.unix('rwxr-xr-x')
141+
}
140142
}
141143
}
142144
}

0 commit comments

Comments
 (0)