You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2017/10/23 13:49:05 UTC

kafka git commit: MINOR: Configure owasp.dependencycheck gradle plugin

Repository: kafka
Updated Branches:
  refs/heads/trunk 021f2e7e2 -> 6fc573225


MINOR: Configure owasp.dependencycheck gradle plugin

It seems to output a few false positives, but still
worth verifying.

Author: Ismael Juma <is...@juma.me.uk>

Reviewers: Rajini Sivaram <ra...@googlemail.com>

Closes #4117 from ijuma/dependency-check


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/6fc57322
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/6fc57322
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/6fc57322

Branch: refs/heads/trunk
Commit: 6fc5732259d76603c37524d588b1429b42c8a5d5
Parents: 021f2e7
Author: Ismael Juma <is...@juma.me.uk>
Authored: Mon Oct 23 14:49:01 2017 +0100
Committer: Ismael Juma <is...@juma.me.uk>
Committed: Mon Oct 23 14:49:01 2017 +0100

----------------------------------------------------------------------
 build.gradle | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/6fc57322/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index d9c455f..9a221d9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -28,19 +28,21 @@ buildscript {
     classpath 'com.github.ben-manes:gradle-versions-plugin:0.15.0'
     classpath 'org.scoverage:gradle-scoverage:2.1.0'
     classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
+    classpath 'org.owasp:dependency-check-gradle:3.0.1'
   }
 }
 
 apply from: "$rootDir/gradle/dependencies.gradle"
 
 allprojects {
-  apply plugin: 'idea'
-  apply plugin: "jacoco"
 
   repositories {
     mavenCentral()
   }
-
+  
+  apply plugin: 'idea'
+  apply plugin: "jacoco"
+  apply plugin: 'org.owasp.dependencycheck'
   apply plugin: 'com.github.ben-manes.versions'
 
   dependencyUpdates {