This commit is contained in:
parent
92a70b5611
commit
5a644573e5
BIN
CommonStarling_102761_45.wav
Normal file
BIN
CommonStarling_102761_45.wav
Normal file
Binary file not shown.
@ -8,7 +8,7 @@ RUN chown -R $APPLICATION_USER /app
|
||||
|
||||
USER $APPLICATION_USER
|
||||
|
||||
COPY ./build/libs/messagequeue-glue-1.0-SNAPSHOT.jar /app/messagequeue-glue-1.0-SNAPSHOT.jar
|
||||
COPY ./build/libs/messagequeue-glue.jar /app/messagequeue-glue.jar
|
||||
WORKDIR /app
|
||||
|
||||
CMD ["java", "-server", "-XX:+UnlockExperimentalVMOptions", "-XX:InitialRAMFraction=2", "-XX:MinRAMFraction=2", "-XX:MaxRAMFraction=2", "-XX:+UseG1GC", "-XX:MaxGCPauseMillis=100", "-XX:+UseStringDeduplication", "-jar", "messagequeue-glue-1.0-SNAPSHOT.jar"]
|
||||
CMD ["java", "-server", "-XX:+UnlockExperimentalVMOptions", "-XX:InitialRAMFraction=2", "-XX:MinRAMFraction=2", "-XX:MaxRAMFraction=2", "-XX:+UseG1GC", "-XX:MaxGCPauseMillis=100", "-XX:+UseStringDeduplication", "-jar", "messagequeue-glue.jar"]
|
@ -8,12 +8,17 @@ buildscript {
|
||||
}
|
||||
|
||||
plugins {
|
||||
application
|
||||
kotlin("jvm") version "1.3.72"
|
||||
}
|
||||
|
||||
group = "com.kmlabz"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
application {
|
||||
mainClassName = "MainKt"
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
@ -29,6 +34,15 @@ dependencies {
|
||||
}
|
||||
|
||||
tasks {
|
||||
named<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>("shadowJar") {
|
||||
archiveBaseName.set("messagequeue-glue")
|
||||
classifier = null
|
||||
version = null
|
||||
mergeServiceFiles()
|
||||
manifest {
|
||||
attributes(mapOf("Main-Class" to "Main"))
|
||||
}
|
||||
}
|
||||
compileKotlin {
|
||||
kotlinOptions.jvmTarget = "11"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user