Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add owasp dependency check to the pipeline #348

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ install:
- gem install --no-document faraday -v 1.10.1
- gem install --no-document faraday-net_http -v 2.1.0
- gem install --no-document public_suffix -v 4.0.7
- gem install --no-document octokit -v 4.25.1
- gem install --no-document octokit -v 4.25.1
- gem install --no-document chandler -v 0.7.0

script:
- ./gradlew prepareForCiBuild -s -i -Prelease.disableChecks && ./gradlew funcTest ciBuild -s -i -Pcompatibility -Prelease.disableChecks -PpluginPortal -PchangelogSync
- ./gradlew prepareForCiBuild -s -i -Prelease.disableChecks && ./gradlew funcTest ciBuild -s -i -Pcompatibility -Prelease.disableChecks -PpluginPortal -PchangelogSync && ./gradlew dependencyCheckAnalyze

cache:
directories:
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apply plugin: 'codenarc'
apply from: "$rootDir/gradle/cdeliveryboy-release.gradle"
apply from: "$rootDir/gradle/report-version-consistency-check.gradle"
apply plugin: "com.github.ben-manes.versions"
apply plugin: 'org.owasp.dependencycheck'

buildscript {
repositories {
Expand All @@ -19,6 +20,7 @@ buildscript {
classpath 'io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0' //override version for more reliable releasing from Travis
classpath 'com.gradle.publish:plugin-publish-plugin:0.16.0'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.42.0'
classpath 'org.owasp:dependency-check-gradle:8.2.1'
}
}

Expand Down