-
Notifications
You must be signed in to change notification settings - Fork 19
/
build.gradle
41 lines (34 loc) · 1.06 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
subprojects {
apply plugin: 'java'
version = '1.0'
buildDir = new File(rootProject.projectDir, "build/" + project.name)
repositories {
mavenCentral()
jcenter()
}
compileJava {
sourceCompatibility = '1.8'
}
sourceSets {
main {
java.srcDirs = [file('src/java')]
resources.srcDirs = [file('src/resources')]
}
test {
java.srcDirs = [file('test/unit')]
resources.srcDirs = [file('test/resources')]
}
}
jar {
manifest {
attributes('Implementation-Title': project.name,
'Implementation-Version': version)
}
}
dependencies {
compile group: 'org.apache.kafka', name: 'kafka-clients', version: '2.5.0'
compile group: 'com.google.code.gson', name: 'gson', version: '2.3.1'
compile group: 'com.google.guava', name: 'guava', version: 'r05'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.13.3'
}
}