-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (51 loc) · 2.04 KB
/
build.gradle
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
group 'net.ghostlab'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'jetty'
apply plugin: 'eclipse-wtp'
description = "This project implements a TSDB Splicer, which will " +
"partition long TSDB queries into smaller chunks, execute them in parallel, and splice the " +
"individual results"
sourceCompatibility = 1.7
targetCompatibility = 1.7
repositories {
mavenCentral()
}
dependencies {
providedCompile 'javax.servlet:servlet-api:2.5'
runtime 'javax.servlet:jstl:1.1.2'
testCompile group: 'junit', name: 'junit', version: '4.11'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.0.13'
compile group: 'net.logstash.logback', name: 'logstash-logback-encoder', version: '4.6'
compile group: 'io.dropwizard.metrics', name: 'metrics-core', version: '3.1.2'
compile group: 'io.dropwizard.metrics', name: 'metrics-jvm', version: '3.1.2'
compile group: 'io.dropwizard.metrics', name: 'metrics-healthchecks', version: '3.1.2'
compile group: 'io.dropwizard.metrics', name: 'metrics-servlets', version: '3.1.2'
compile group: 'io.dropwizard.metrics', name: 'metrics-annotation', version: '3.1.2'
compile group: 'io.dropwizard.metrics', name: 'metrics-jetty9', version: '3.1.2'
compile group: 'biz.paluch.redis', name: 'lettuce', version: '3.2.Final'
compile group: 'org.eclipse.jetty', name:'jetty-server', version: '9.2.14.v20151106'
compile group: 'org.eclipse.jetty', name:'jetty-webapp', version: '9.2.14.v20151106'
}
task fatJar(type: Jar, dependsOn: build) {
baseName = project.name + '-all'
manifest {
attributes 'Main-Class': 'net.ghostlab.instrumentation.ApplicationMain'
}
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it).matching {
exclude {
it.path.contains('META-INF')
}
}
}
}
with jar
}
jar {
manifest {
attributes 'Main-Class': 'net.ghostlab.instrumentation.ApplicationMain'
}
}