2018-02-08 15:01:19 +01:00
|
|
|
sonarqube {
|
|
|
|
skipProject = true
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-03-10 14:09:04 +01:00
|
|
|
// please keep list ordered
|
|
|
|
|
2018-03-20 17:12:56 +01:00
|
|
|
compile 'com.google.code.gson:gson'
|
2018-02-08 15:01:19 +01:00
|
|
|
compile 'com.google.guava:guava'
|
2019-07-15 22:59:23 +02:00
|
|
|
compile 'commons-io:commons-io'
|
2020-03-18 20:40:32 +01:00
|
|
|
// transitive dependency of Velocity that must be upgraded
|
|
|
|
// in order to fix a vulnerability
|
|
|
|
compile 'commons-collections:commons-collections:3.2.2'
|
2018-02-08 15:01:19 +01:00
|
|
|
compile 'org.apache.velocity:velocity:1.7'
|
|
|
|
compile 'org.slf4j:log4j-over-slf4j'
|
|
|
|
compile 'org.sonarsource.orchestrator:sonar-orchestrator'
|
|
|
|
|
|
|
|
compileOnly 'com.google.code.findbugs:jsr305'
|
|
|
|
}
|
|
|
|
|
|
|
|
task fatJar(type: Jar) {
|
|
|
|
manifest {
|
|
|
|
attributes 'Main-Class': 'org.sonarqube.wsgenerator.Generator'
|
|
|
|
}
|
|
|
|
classifier = 'jar-with-dependencies'
|
|
|
|
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
|
|
with jar
|
|
|
|
}
|