-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·60 lines (47 loc) · 2.01 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
59
60
group 'org.ow2.proactive.data.streaming'
version '1.0'
apply plugin: 'java'
sourceCompatibility = 1.8
configurations {
includeInTheJar
}
jar {
baseName = 'BitcoinExchangeDataflow'
from {
configurations.includeInTheJar.collect { it.isDirectory() ? it : zipTree(it) }
}
}
repositories {
maven {
url "http://clojars.org/repo/"
}
jcenter()
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/org.apache.storm/storm-core
compile group: 'org.apache.storm', name: 'storm-core', version: '1.1.1'
// https://mvnrepository.com/artifact/org.apache.storm/storm-kafka
compile group: 'org.apache.storm', name: 'storm-kafka', version: '1.1.1'
includeInTheJar group: 'org.apache.storm', name: 'storm-kafka', version: '1.1.1'
// https://mvnrepository.com/artifact/org.apache.storm/flux-core
compile group: 'org.apache.storm', name: 'flux-core', version: '1.1.1'
// https://mvnrepository.com/artifact/javax.json/javax.json-api
compile group: 'javax.json', name: 'javax.json-api', version: '1.1'
includeInTheJar group: 'javax.json', name: 'javax.json-api', version: '1.1'
// https://mvnrepository.com/artifact/org.glassfish/javax.json
compile group: 'org.glassfish', name: 'javax.json', version: '1.1'
includeInTheJar group: 'org.glassfish', name: 'javax.json', version: '1.1'
// https://mvnrepository.com/artifact/org.apache.kafka/kafka-clients
compile (group: 'org.apache.kafka', name: 'kafka_2.11', version: '0.11.0.1'){
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
exclude group: 'log4j', module: 'log4j'
exclude group: 'org.apache.zookeeper', module: 'zookeeper'
}
includeInTheJar (group: 'org.apache.kafka', name: 'kafka_2.11', version: '0.11.0.1'){
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
exclude group: 'log4j', module: 'log4j'
exclude group: 'org.apache.zookeeper', module: 'zookeeper'
}
testCompile group: 'junit', name: 'junit', version: '4.12'
}