aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-generator/build.gradle
blob: df3d2ac2ef2cba96a05592188760256fb1e87459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
sonar {
  skipProject = true
}

dependencies {
  // please keep list ordered

  api 'com.google.code.gson:gson'
  api 'com.google.guava:guava'
  api 'commons-io:commons-io'
  // transitive dependency of Velocity that must be upgraded
  // in order to fix a vulnerability
  api 'commons-collections:commons-collections:3.2.2'
  api 'org.apache.velocity:velocity:1.7'
  api 'org.slf4j:log4j-over-slf4j'
  api 'org.sonarsource.orchestrator:sonar-orchestrator-junit4'

  compileOnlyApi 'com.google.code.findbugs:jsr305'
}

task fatJar(type: Jar) {
  manifest {
    attributes 'Main-Class': 'org.sonarqube.wsgenerator.Generator'
  }
  archiveClassifier = 'jar-with-dependencies'
  from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
  with jar
}