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

dependencies {
  compile 'com.google.code.gson:gson:2.8.2'
  compile 'com.google.guava:guava'
  compile 'org.apache.velocity:velocity:1.7'
  compile 'org.slf4j:log4j-over-slf4j'
  compile 'org.sonarsource.orchestrator:sonar-orchestrator'
  compile project(':sonar-ws')

  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
}