SONAR-25638 Publish the scanner engine fat JAR

This commit is contained in:
Julien HENRY 2025-09-01 14:43:42 +02:00 committed by sonartech
parent 1cce8167ec
commit 2a9726f465
1 changed files with 18 additions and 0 deletions

View File

@ -10,6 +10,8 @@ dependencies {
api project(':sonar-scanner-engine')
}
artifactoryPublish.skip = !deployCommunity
jar {
manifest {
attributes(
@ -19,3 +21,19 @@ jar {
)
}
}
assemble.dependsOn shadowJar
// Used by the scanner integration tester
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact shadowJar
if (release) {
artifact sourcesJar
artifact javadocJar
}
}
}
}