Fix thirdpartyaudit to ignore all elasticsearch packages

This commit is contained in:
Ryan Ernst 2015-12-17 22:31:40 -08:00
parent 801de8f2ba
commit fbff877ec3
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ public class ThirdPartyAuditTask extends DefaultTask {
// we only want third party dependencies. // we only want third party dependencies.
FileCollection jars = project.configurations.testCompile.fileCollection({ dependency -> 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 // we don't want provided dependencies, which we have already scanned. e.g. don't