-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (28 loc) · 1016 Bytes
/
build.gradle
File metadata and controls
33 lines (28 loc) · 1016 Bytes
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
version = "1.0-SNAPSHOT"
apply plugin: "com.bmuschko.docker-java-application"
apply plugin: "com.github.johnrengelman.shadow"
dependencies {
implementation "com.fasterxml.jackson.core:jackson-databind:2.11.3"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.3"
implementation "io.zipkin.zipkin2:zipkin:2.22.1"
}
jar {
manifest {
attributes(
"Class-Path": configurations.compileClasspath.collect { it.getName() }.join(" "),
"Main-Class": "pg.streaming.target.extraction.TargetExtractionKafkaStreams"
)
}
}
shadowJar {
archiveBaseName = "pg-streaming-target-extraction-standalone"
archiveClassifier = ""
}
docker {
javaApplication {
baseImage = "openjdk:8-jre-slim"
maintainer = "Johannes Kross <kross@fortiss.org>"
images = ["pg-streaming-target-extraction:" + project.version, "pg-streaming-target-extraction:latest"]
// jvmArgs = ["-Xms256m", "-Xmx2048m"] // tbd
}
}