This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user