-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathbuild.gradle
44 lines (34 loc) · 1.07 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: 'java'
apply plugin: 'idea'
apply plugin: 'application'
mainClassName = 'io.amient.examples.wikipedia.WikipediaStreamDemo'
libsDirName = 'lib'
ext.javaVersion = '1.8'
ext.kafkaVersion = '0.10.0.0'
ext.slf4jVersion = '1.7.6'
sourceCompatibility = 1.8
version = ext.kafkaVersion
build.dependsOn startScripts
task wrapper(type: Wrapper) {
gradleVersion = '2.7'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile group: 'org.apache.kafka', name: 'connect-runtime', version: kafkaVersion
compile group: 'org.apache.kafka', name: 'connect-api', version: kafkaVersion
compile group: 'org.apache.kafka', name: 'kafka-streams', version: kafkaVersion
compile group: 'org.schwering', name: 'irclib', version: '1.10'
compile group: 'org.slf4j', name:'slf4j-api', version: slf4jVersion
compile group: 'org.slf4j', name:'slf4j-log4j12', version: slf4jVersion
}
jar {
manifest {
attributes 'Main-Class': mainClassName
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}