add pattern excludes for binary files

Original commit: elastic/x-pack-elasticsearch@f1077e35f8
This commit is contained in:
Ryan Ernst 2018-01-19 21:57:43 -08:00
parent f3ec4a5208
commit 0bc496ae04
1 changed files with 7 additions and 0 deletions

View File

@ -10,5 +10,12 @@ dependencies {
// add test resources from security, so certificate tool tests can use example certs
sourceSets.test.resources.srcDirs(project(':x-pack-elasticsearch:plugin:security').sourceSets.test.resources.srcDirs)
// we have to repeate these patterns because the security test resources are effectively in the src of this project
forbiddenPatterns {
exclude '**/*.key'
exclude '**/*.p12'
exclude '**/*.der'
}
// these are just tests, no need to audit
thirdPartyAudit.enabled = false