-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
59 lines (46 loc) · 1.49 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
53
54
55
56
57
58
59
plugins {
id 'idea'
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven {
url "https://packages.confluent.io/maven/"
}
}
}
subprojects {
version = '1.0'
}
configure(subprojects.findAll { project -> file("${project.name}/src/main/java").exists() }) {
apply plugin: 'java'
apply plugin: 'application'
group = 'com.nbuesing.kafka101'
description = "${project.name}"
sourceCompatibility = 1.8
targetCompatibility = 1.8
idea {
module {
inheritOutputDirs = false
outputDir = compileJava.destinationDir
testOutputDir = compileTestJava.destinationDir
}
}
dependencies {
implementation "org.apache.kafka:kafka-clients:${kafka_version}"
implementation "org.apache.commons:commons-lang3:${apache_commons_version}"
implementation "org.slf4j:slf4j-api:${slf4j_version}"
implementation "ch.qos.logback:logback-classic:${logback_version}"
implementation "com.beust:jcommander:${jcommander_version}"
// lombok dependencies
compileOnly "org.projectlombok:lombok:${lombok_version}"
annotationProcessor "org.projectlombok:lombok:${lombok_version}"
testCompileOnly "org.projectlombok:lombok:${lombok_version}"
testAnnotationProcessor "org.projectlombok:lombok:${lombok_version}"
}
application {
mainClass = "com.buesing.kafka101.${project.name}.Main"
}
}