-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
43 lines (35 loc) · 1.16 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
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'maven'
sourceCompatibility = 1.7
targetCompatibility = 1.7
version = '1.0'
task wrapper(type: Wrapper) {
gradleVersion = '3.5'
distributionUrl = "https://services.gradle.org/distributions/gradle-$gradleVersion-all.zip"
}
repositories {
mavenCentral()
}
//create a single Jar with all dependencies
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Stream Processor Replay Tol',
'Implementation-Version': version,
'Main-Class': 'md2k.mcerebrum.CC_Main'
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.+'
compile 'org.apache.commons:commons-math3:3.5'
compile group: 'org.apache.commons', name: 'commons-compress', version: '1.13'
compile 'org.apache.commons:commons-collections4:4.1'
compile('org.apache.commons:commons-io:1.3.2') {
exclude module: 'commons-io'
}
compile 'com.google.code.gson:gson:2.5'
compile 'com.tdunning:t-digest:3.1'
}