-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
52 lines (41 loc) · 1.18 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
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'jacoco'
apply plugin:'application'
mainClassName = "com.neverwinterdp.kafkaproducer.writer.Main"
jacoco {
toolVersion = "0.7.0.201403182114"
reportsDir = file("$buildDir/JacocoReportDir")
}
eclipse {
project {
name = 'kafkaProducer'
}
classpath {
downloadSources=true
}
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile 'org.apache.curator:curator-framework:2.6.0'
compile 'org.apache.curator:curator-recipes:2.6.0'
compile 'org.apache.curator:curator-test:2.6.0'
compile group: 'org.apache.kafka', name: 'kafka_2.10', version:'0.8.2-beta'
compile group: 'com.fasterxml', name : 'jackson-module-json-org', version: '0.9.1'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.5'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.5'
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile "org.mockito:mockito-core:1.+"
testCompile "org.apache.kafka:kafka_2.10:0.8.2-beta:test"
}
test {
forkEvery = 1
ignoreFailures = true
testLogging.showStandardStreams = true
testLogging {
events "passed", "skipped", "failed"
}
}