Skip to content

Commit

Permalink
Remove Dependency-Check.
Browse files Browse the repository at this point in the history
  • Loading branch information
smarkwal committed Dec 24, 2023
1 parent 692e95b commit f5b6e4b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 92 deletions.
60 changes: 0 additions & 60 deletions .github/workflows/dependency-check.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ build/
*.hprof
*.jfr

# Dependency-Check data directory
/dependency-check

# user-specific files
gradle.user.properties
*.gpg
Expand Down
26 changes: 0 additions & 26 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/
import org.gradle.plugins.ide.idea.model.IdeaLanguageLevel
import org.owasp.dependencycheck.reporting.ReportGenerator.Format
import java.util.*

plugins {
Expand All @@ -28,10 +27,6 @@ plugins {
// https://github.com/ben-manes/gradle-versions-plugin
id("com.github.ben-manes.versions") version "0.50.0"

// run OWASP Dependency-Check analysis
// note: set same version in .github/workflows/dependency-check.yml
id("org.owasp.dependencycheck") version "8.4.2"

}

allprojects {
Expand Down Expand Up @@ -87,27 +82,6 @@ nexusPublishing {
}
}

dependencyCheck {
// documentation: https://jeremylong.github.io/DependencyCheck/dependency-check-gradle/configuration.html

// settings
format = Format.ALL.toString()
skipTestGroups = false
outputDirectory = "${layout.buildDirectory.get()}/reports/dependency-check"

// path to database directory
data.directory = "${rootDir}/dependency-check"

// disable .NET Assembly Analyzer (fix for unexpected build exception)
analyzers.assemblyEnabled = false

// exclude test resources from analysis
scanSet = listOf()

// suppressed findings
suppressionFile = "${projectDir}/suppression.xml"
}

tasks {
register("clean") {
group = "build"
Expand Down
3 changes: 0 additions & 3 deletions suppression.xml

This file was deleted.

0 comments on commit f5b6e4b

Please sign in to comment.