forked from CityBench/Benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (45 loc) · 1.12 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
apply plugin: 'java'
apply plugin: 'idea'
group = "org.insight_centre.citybench"
version = "1.0.0"
sourceCompatibility = "1.8"
sourceSets {
main {
java {
srcDir 'src'
}
resources {
srcDir 'lib'
exclude '**/*.jar'
include '**/*.properties'
}
}
}
jar {
manifest {
attributes 'Main-Class': 'org.insight_centre.citybench.main.CityBench'
}
}
task fatJar(type: Jar) {
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
manifest {
attributes 'Main-Class': 'org.insight_centre.citybench.main.CityBench'
}
}
repositories {
mavenCentral()
flatDir {
dirs 'lib'
}
}
dependencies {
// TODO: get these dependencies via maven?
compile fileTree(dir: 'lib', include: '*.jar')
compile fileTree(dir: 'lib/CQELS-lib', include: '*.jar')
compile 'org.apache.httpcomponents:httpclient:4.3.4'
compile 'com.google.guava:guava:11.0.2'
compile 'com.google.code.gson:gson:2.6.1'
compile 'commons-io:commons-io:2.4'
}