|
@@ -26,14 +26,11 @@ forbiddenPatterns {
|
|
|
|
|
|
if (BuildParams.inFipsJvm) {
|
|
|
test.enabled = false
|
|
|
+ jarHell.enabled = false
|
|
|
testingConventions.enabled = false
|
|
|
// Forbiden APIs non-portable checks fail because bouncy castle classes being used from the FIPS JDK since those are
|
|
|
// not part of the Java specification - all of this is as designed, so we have to relax this check for FIPS.
|
|
|
tasks.withType(CheckForbiddenApis) {
|
|
|
bundledSignatures -= "jdk-non-portable"
|
|
|
}
|
|
|
- // FIPS JVM includes many classes from bouncycastle which count as jar hell for the third party audit,
|
|
|
- // rather than provide a long list of exclusions, disable the check on FIPS.
|
|
|
- thirdPartyAudit.enabled = false
|
|
|
-
|
|
|
}
|