mirror of
https://github.com/google/nomulus.git
synced 2025-04-29 19:47:51 +02:00
Completely remove log4j (#1466)
* Completely remove log4j Prevent Gradle plugin from using log4j.
This commit is contained in:
parent
25e23ceef9
commit
69d06989c0
3 changed files with 5 additions and 2 deletions
|
@ -20,6 +20,9 @@ buildscript {
|
|||
// Lock buildscript dependencies.
|
||||
configurations.classpath {
|
||||
resolutionStrategy.activateDependencyLocking()
|
||||
|
||||
// See java_common.gradle for explanation.
|
||||
exclude group: 'org.apache.logging.log4j'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -40,8 +40,6 @@ org.apache.ant:ant-launcher:1.9.7
|
|||
org.apache.ant:ant:1.9.7
|
||||
org.apache.commons:commons-compress:1.20
|
||||
org.apache.commons:commons-lang3:3.8.1
|
||||
org.apache.logging.log4j:log4j-api:2.11.0
|
||||
org.apache.logging.log4j:log4j-core:2.11.0
|
||||
org.apache.maven:maven-artifact:3.6.2
|
||||
org.apache.maven:maven-builder-support:3.6.2
|
||||
org.apache.maven:maven-model-builder:3.6.2
|
||||
|
|
|
@ -64,6 +64,8 @@ configurations {
|
|||
it.exclude group: 'org.mockito', module: 'mockito-core'
|
||||
}
|
||||
all.each {
|
||||
// log4j has high-profile security vulnerabilities. It's a transitive dependency used by some
|
||||
// Apache Beam packages. Excluding it does not impact our troubleshooting needs.
|
||||
it.exclude group: 'org.apache.logging.log4j'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue