From 39a11ef5242225da28c51d97e08a06faf2b87dc1 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Fri, 27 Sep 2024 13:59:34 +0200 Subject: SONAR-23013 Fix the usage of Bouncycastle * BC is a multi-release JAR, so the flag has to be preserved in the scanner engine shaded jar * Not sure it was needed, but I decided to not install BC as a Security Provider, and only use it to load the pkcs12 certificate --- sonar-scanner-engine-shaded/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sonar-scanner-engine-shaded') diff --git a/sonar-scanner-engine-shaded/build.gradle b/sonar-scanner-engine-shaded/build.gradle index dcb53b4294d..2db00131ab4 100644 --- a/sonar-scanner-engine-shaded/build.gradle +++ b/sonar-scanner-engine-shaded/build.gradle @@ -13,7 +13,9 @@ dependencies { jar { manifest { attributes( - 'Main-Class' : "org.sonar.scanner.bootstrap.ScannerMain" + 'Main-Class' : "org.sonar.scanner.bootstrap.ScannerMain", + // BouncyCastle library is a multi-release jar + 'Multi-Release' : 'true' ) } } -- cgit v1.2.3