-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (31 loc) · 823 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
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:1.2.4"
}
}
apply plugin: 'java'
apply plugin: 'application'
apply plugin: "com.github.johnrengelman.shadow"
mainClassName = 'com.devavidity.kafka.streams.example.Application'
repositories {
jcenter()
}
dependencies {
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.13'
compile group: 'org.apache.kafka', name: 'kafka-streams', version: '0.11.0.0'
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
testCompile group: 'junit', name: 'junit', version: '3.8.2'
}
shadowJar {
}
jar {
manifest {
attributes 'Main-Class': mainClassName
}
}