aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-generator/build.gradle
blob: a830087661337e70c555589cc37deee4e6289a84 (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
sonar {
  skipProject = true
}

dependencies {
  // please keep list ordered

  api 'com.google.code.gson:gson'
  api 'com.google.guava:guava'
  api 'commons-io:commons-io'
  api 'org.apache.velocity:velocity'
  api 'org.slf4j:log4j-over-slf4j'
  api 'org.sonarsource.orchestrator:sonar-orchestrator-junit4'

  compileOnlyApi 'com.github.spotbugs:spotbugs-annotations'
}

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
}