mirror of https://github.com/apache/kafka.git
MINOR: skip 'zinc' phase from gradle dependency-check plugin (#15054)
This avoids `gradle dependencyCheckAggregate` from reporting on advisories in build-time dependencies (e.g. CVE-2023-46122) which typically should not affect us. I checked that this does not prevent advisories in 'regular' dependencies from being reported (but there currently are none). Reviewers: Josep Prat <josep.prat@aiven.io>
This commit is contained in:
parent
dcdf812880
commit
bed23b7978
|
@ -784,6 +784,7 @@ subprojects {
|
||||||
dependencyCheck {
|
dependencyCheck {
|
||||||
suppressionFile = "$rootDir/gradle/resources/dependencycheck-suppressions.xml"
|
suppressionFile = "$rootDir/gradle/resources/dependencycheck-suppressions.xml"
|
||||||
skipProjects = [ ":jmh-benchmarks", ":trogdor" ]
|
skipProjects = [ ":jmh-benchmarks", ":trogdor" ]
|
||||||
|
skipConfigurations = [ "zinc" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue