-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
38 lines (29 loc) · 873 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
apply plugin: 'java-library'
group 'com.tygrash'
version '1.0.0'
repositories {
jcenter()
mavenCentral()
}
dependencies {
implementation 'com.google.guava:guava:22.0'
compile group: 'org.apache.kafka', name: 'kafka-clients', version: '0.11.0.1'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.1.7'
compileOnly "org.projectlombok:lombok:1.16.18"
testImplementation 'junit:junit:4.12'
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
}
test {
beforeTest { descriptor ->
logger.lifecycle("Running test: " + descriptor)
}
testLogging {
exceptionFormat "full"
events "passed", "skipped", "failed"
}
}
def mainClassName = "com.tygrash.launch.Main"
task run(type: JavaExec) {
main = mainClassName
classpath = sourceSets.main.runtimeClasspath
}