forked from ZEPL/kafka-twitter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (32 loc) · 840 Bytes
/
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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
mainClassName = "com.nflabs.peloton2.kafka.producer.TwitterProducer"
sourceCompatibility = JavaVersion.VERSION_1_6
version = '0.0.1'
run {
if ( project.hasProperty('args') ) {
args project.args.split('\\s+')
}
}
task wrapper(type: Wrapper) {
gradleVersion = '1.10'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile "org.apache.kafka:kafka_2.10:0.8.0"
compile "org.twitter4j:twitter4j-stream:3.0.5"
testCompile group: 'junit', name: 'junit', version: '4.11'
}
configurations {
all*.exclude group: 'javax.jms', module: 'jms'
all*.exclude group: 'com.sun.jdmk', module: 'jmxtools'
all*.exclude group: 'com.sun.jmx', module: 'jmxri'
published
}
test {
systemProperties 'property': 'value'
}