forked from gphilipp/simple-streaming-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
34 lines (29 loc) · 797 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
plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'application'
}
repositories {
mavenCentral()
maven {
url "https://packages.confluent.io/maven"
}
}
dependencies {
implementation 'org.slf4j:slf4j-nop:1.7.36'
implementation 'org.apache.kafka:kafka-clients:3.5.1'
implementation 'io.confluent:kafka-avro-serializer:6.1.0'
implementation 'org.apache.directory.studio:org.apache.commons.io:2.4'
}
jar {
manifest {
attributes(
"Class-Path": configurations.compileClasspath.collect { it.getName() }.join(" "),
"Main-Class": "SimpleStreamingApp"
)
}
}
shadowJar {
archiveBaseName = "simple-streaming-app"
mainClassName = "SimpleStreamingApp"
archiveClassifier = 'all'
}