diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2022-02-21 11:20:20 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-02-22 20:02:46 +0000 |
commit | 5fb0f5edafa247fafe76f50f24226528d6774638 (patch) | |
tree | 21529cc39fd453c58acd019cb94fec6cfa9f2e3c /build.gradle | |
parent | 9c5f06cb4daa67f42ebd228f9d990bd3a0bea87f (diff) | |
download | sonarqube-5fb0f5edafa247fafe76f50f24226528d6774638.tar.gz sonarqube-5fb0f5edafa247fafe76f50f24226528d6774638.zip |
[NO JIRA] Remove OWASP SCA tooling
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 38 |
1 files changed, 0 insertions, 38 deletions
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') } |