Fix third party audit for repository-hdfs

This commit fixes the third party audit check for the repository-hdfs
plugin; a class was excluded on JDK 9 that does not need to be.
This commit is contained in:
Jason Tedor 2017-07-02 16:12:58 -04:00
parent 1205610023
commit 5f2a0118b8
1 changed files with 0 additions and 4 deletions

View File

@ -493,10 +493,6 @@ thirdPartyAudit.excludes = [
'com.squareup.okhttp.ResponseBody' 'com.squareup.okhttp.ResponseBody'
] ]
if (project.rootProject.ext.javaVersion == JavaVersion.VERSION_1_9) {
thirdPartyAudit.excludes.add('javax.xml.bind.annotation.adapters.HexBinaryAdapter')
}
// Gradle 2.13 bundles org.slf4j.impl.StaticLoggerBinder in its core.jar which leaks into the forbidden APIs ant task // Gradle 2.13 bundles org.slf4j.impl.StaticLoggerBinder in its core.jar which leaks into the forbidden APIs ant task
// Gradle 2.14+ does not bundle this class anymore so we need to properly exclude it here. // Gradle 2.14+ does not bundle this class anymore so we need to properly exclude it here.
if (GradleVersion.current() > GradleVersion.version("2.13")) { if (GradleVersion.current() > GradleVersion.version("2.13")) {