aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine-shaded/build.gradle
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2024-09-27 13:59:34 +0200
committersonartech <sonartech@sonarsource.com>2024-09-27 20:02:47 +0000
commit39a11ef5242225da28c51d97e08a06faf2b87dc1 (patch)
tree063ff3a030042fd195da12b0b7100e28c069a2da /sonar-scanner-engine-shaded/build.gradle
parent398832085b6ae80129414e4127d21133158a065a (diff)
downloadsonarqube-39a11ef5242225da28c51d97e08a06faf2b87dc1.tar.gz
sonarqube-39a11ef5242225da28c51d97e08a06faf2b87dc1.zip
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
Diffstat (limited to 'sonar-scanner-engine-shaded/build.gradle')
-rw-r--r--sonar-scanner-engine-shaded/build.gradle4
1 files changed, 3 insertions, 1 deletions
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'
)
}
}