|
@@ -13,6 +13,7 @@ plugins {
|
|
|
|
|
|
id("otel.errorprone-conventions")
|
|
id("otel.errorprone-conventions")
|
|
id("otel.spotless-conventions")
|
|
id("otel.spotless-conventions")
|
|
|
|
+ id("org.owasp.dependencycheck")
|
|
}
|
|
}
|
|
|
|
|
|
val otelJava = extensions.create<OtelJavaExtension>("otelJava")
|
|
val otelJava = extensions.create<OtelJavaExtension>("otelJava")
|
|
@@ -355,6 +356,12 @@ checkstyle {
|
|
maxWarnings = 0
|
|
maxWarnings = 0
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+dependencyCheck {
|
|
|
|
+ skipConfigurations = listOf("errorprone", "checkstyle", "annotationProcessor")
|
|
|
|
+ suppressionFile = "buildscripts/dependency-check-suppressions.xml"
|
|
|
|
+ failBuildOnCVSS = 7.0f // fail on high or critical CVE
|
|
|
|
+}
|
|
|
|
+
|
|
idea {
|
|
idea {
|
|
module {
|
|
module {
|
|
isDownloadJavadoc = false
|
|
isDownloadJavadoc = false
|