Skip to content

Commit

Permalink
Exclude log4j-core from compile dependencies
Browse files Browse the repository at this point in the history
No need for a logger implementation for compilation.

Issue #19300
  • Loading branch information
ljacomet committed Dec 13, 2021
1 parent 39a1c84 commit a7ef431
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion subprojects/scala/build.gradle.kts
Expand Up @@ -27,7 +27,9 @@ dependencies {
implementation(libs.guava)
implementation(libs.inject)

compileOnly("org.scala-sbt:zinc_2.12:1.3.5")
compileOnly("org.scala-sbt:zinc_2.12:1.3.5") {
exclude(module="log4j-core") // Because not needed and vulnerable
}

testImplementation(project(":base-services-groovy"))
testImplementation(project(":files"))
Expand Down

0 comments on commit a7ef431

Please sign in to comment.