From 5fb0f5edafa247fafe76f50f24226528d6774638 Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Mon, 21 Feb 2022 11:20:20 +0100 Subject: [NO JIRA] Remove OWASP SCA tooling --- build.gradle | 38 -------------------------------------- 1 file changed, 38 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index aed914a0d00..ebfb044f428 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,6 @@ plugins { id 'com.google.protobuf' version '0.8.18' apply false id 'com.jfrog.artifactory' version '4.24.23' id 'io.spring.dependency-management' version '1.0.11.RELEASE' - id 'org.owasp.dependencycheck' version '6.3.2' id 'org.sonarqube' version '3.3' id "de.undercouch.download" version "5.0.1" apply false } @@ -18,38 +17,6 @@ if (!JavaVersion.current().java11Compatible) { throw new GradleException("JDK 11+ is required to perform this build. It's currently " + System.getProperty("java.home") + ".") } -apply plugin: 'org.owasp.dependencycheck' -dependencyCheck { - analyzers { - assemblyEnabled = false - autoconfEnabled = false - bundleAuditEnabled = false - cmakeEnabled = false - cocoapodsEnabled = false - composerEnabled = false - cocoapodsEnabled = false - golangDepEnabled = false - golangModEnabled = false - nodeAudit { - skipDevDependencies = true - } - nuspecEnabled = false - nugetconfEnabled = false - rubygemsEnabled = false - swiftEnabled = false - } - format = 'ALL' - junitFailOnCVSS = 0 - failBuildOnCVSS = 0 - suppressionFiles = ["${project.rootDir}/private/owasp/suppressions.xml", "${project.rootDir}/private/owasp/vulnerabilities.xml"] - skipProjects = project.subprojects - .findAll {it.name.contains('testing') || - it.name.startsWith('it-') || - it.name.contains('-test') || - it.name == 'sonar-ws-generator'} - .collect { it.path } -} - allprojects { apply plugin: 'com.jfrog.artifactory' apply plugin: 'maven-publish' @@ -673,11 +640,6 @@ dependencyUpdates { } gradle.projectsEvaluated { gradle -> - // Execute dependencyCheckAggregate prerequisites before the actual check - allprojects - .findResults { it -> it.tasks.findByName('dependencyCheckAggregate_prerequisites') } - .each { t -> dependencyCheckAggregate.dependsOn(t) } - // yarn_run tasks can't all run in parallel without random issues // this script ensure all yarn_run tasks run sequentially def yarnRunTasks = allprojects.findResults { it -> it.tasks.findByName('yarn_run') } -- cgit v1.2.3