From fbff877ec327df119179b016ac13f95fd9125e5a Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Thu, 17 Dec 2015 22:31:40 -0800 Subject: [PATCH] Fix thirdpartyaudit to ignore all elasticsearch packages --- .../elasticsearch/gradle/precommit/ThirdPartyAuditTask.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/ThirdPartyAuditTask.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/ThirdPartyAuditTask.groovy index 83fe9115083..814f9c1e60b 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/ThirdPartyAuditTask.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/precommit/ThirdPartyAuditTask.groovy @@ -98,7 +98,7 @@ public class ThirdPartyAuditTask extends DefaultTask { // we only want third party dependencies. FileCollection jars = project.configurations.testCompile.fileCollection({ dependency -> - dependency.group != "org.elasticsearch" + dependency.group.startsWith("org.elasticsearch") == false }) // we don't want provided dependencies, which we have already scanned. e.g. don't