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