aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-generator/build.gradle
diff options
context:
space:
mode:
authorDavid Rautureau <david.rautureau@sonarsource.com>2018-02-08 15:01:19 +0100
committerDavid Rautureau <david.rautureau@sonarsource.com>2018-03-09 11:33:38 +0100
commit1a17e4302e4b63de6b4ce7c049441803b9471524 (patch)
tree031bcfbf302c7909c5b45a7c31f1bbc00a2fce34 /sonar-ws-generator/build.gradle
parent21fbe3697bdb6e66016ef8d0bea49da574e02e7d (diff)
downloadsonarqube-1a17e4302e4b63de6b4ce7c049441803b9471524.tar.gz
sonarqube-1a17e4302e4b63de6b4ce7c049441803b9471524.zip
Move To Gradle
Diffstat (limited to 'sonar-ws-generator/build.gradle')
-rw-r--r--sonar-ws-generator/build.gradle23
1 files changed, 23 insertions, 0 deletions
diff --git a/sonar-ws-generator/build.gradle b/sonar-ws-generator/build.gradle
new file mode 100644
index 00000000000..01c9b640ea6
--- /dev/null
+++ b/sonar-ws-generator/build.gradle
@@ -0,0 +1,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
+}