aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine-shaded
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2024-04-10 16:01:48 +0200
committersonartech <sonartech@sonarsource.com>2024-04-15 20:02:44 +0000
commit4b060fef8076c324bc0c0cfe4f64804753c91e29 (patch)
treef02d1dcae8de61b40fbf4b9431c737110c12c1dc /sonar-scanner-engine-shaded
parent60fee355ef174e184b5c3a477a3c81e95302c754 (diff)
downloadsonarqube-4b060fef8076c324bc0c0cfe4f64804753c91e29.tar.gz
sonarqube-4b060fef8076c324bc0c0cfe4f64804753c91e29.zip
SONAR-22036 Add a main to the scanner engine
Diffstat (limited to 'sonar-scanner-engine-shaded')
-rw-r--r--sonar-scanner-engine-shaded/build.gradle8
1 files changed, 8 insertions, 0 deletions
diff --git a/sonar-scanner-engine-shaded/build.gradle b/sonar-scanner-engine-shaded/build.gradle
index 77df9b346b9..dcb53b4294d 100644
--- a/sonar-scanner-engine-shaded/build.gradle
+++ b/sonar-scanner-engine-shaded/build.gradle
@@ -9,3 +9,11 @@ apply plugin: 'com.github.johnrengelman.shadow'
dependencies {
api project(':sonar-scanner-engine')
}
+
+jar {
+ manifest {
+ attributes(
+ 'Main-Class' : "org.sonar.scanner.bootstrap.ScannerMain"
+ )
+ }
+}