add third party audit for x-pack build

Original commit: elastic/x-pack-elasticsearch@fbb2016934
This commit is contained in:
Robert Muir 2015-12-16 18:57:05 -05:00
parent abbe1ba452
commit 3375993e99
1 changed files with 11 additions and 0 deletions

View File

@ -139,3 +139,14 @@ task testJar(type: Jar) {
artifacts {
testArtifacts testJar
}
// classes are missing, e.g. com.ibm.icu.lang.UCharacter
thirdPartyAudit.lenient = true
thirdPartyAudit.excludes = [
// uses internal java api: sun.misc.Unsafe
'com.google.common.cache.Striped64',
'com.google.common.cache.Striped64$1',
'com.google.common.cache.Striped64$Cell',
'com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator',
'com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1',
]