Skip to content

Commit 5690af7

Browse files
committed
[BEAM-12422] Removing unnecessary log4j-api dependency
Vendored gRPC 1.36.0 was using a log4j version with security issues. gRPC does not declare log4j dependency. It uses java.util.logging for logging. Therefore removing the dependency.
1 parent 5fffad6 commit 5690af7

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

buildSrc/src/main/groovy/org/apache/beam/gradle/GrpcVendoring_1_36_0.groovy

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ class GrpcVendoring_1_36_0 {
7070
return [
7171
'com.google.errorprone:error_prone_annotations:2.4.0',
7272
'commons-logging:commons-logging:1.2',
73-
'org.apache.logging.log4j:log4j-api:2.6.2',
7473
'org.slf4j:slf4j-api:1.7.30',
7574
// TODO(BEAM-9288): Enable relocation for conscrypt
7675
"org.conscrypt:conscrypt-openjdk-uber:$conscrypt_version"
@@ -161,8 +160,6 @@ class GrpcVendoring_1_36_0 {
161160
"module-info.class",
162161
"org/apache/commons/logging/**",
163162
"org/apache/log/**",
164-
"org/apache/log4j/**",
165-
"org/apache/logging/log4j/**",
166163
"org/checkerframework/**",
167164
"org/codehaus/mojo/animal_sniffer/**",
168165
"org/conscrypt/**",

0 commit comments

Comments
 (0)