Skip to content

Commit 3bd4a67

Browse files
author
Yannick Seeger
authored
Merge pull request #1 from RyssApp/build/shadowJar
build(gateway): add shadowJar
2 parents e887bbc + 7a9ebf4 commit 3bd4a67

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2+
13
/**
24
* Ktor version.
35
*/
@@ -6,6 +8,7 @@ val ktorVersion: String = "1.3.2"
68
plugins {
79
application
810
kotlin("jvm") version "1.3.71"
11+
id("com.github.johnrengelman.shadow") version "5.2.0"
912
}
1013

1114
group = "app.ryss"
@@ -59,4 +62,8 @@ tasks {
5962
freeCompilerArgs = freeCompilerArgs + "-Xopt-in=kotlin.RequiresOptIn"
6063
}
6164
}
65+
66+
"shadowJar"(ShadowJar::class) {
67+
archiveFileName.set("gateway-service.jar")
68+
}
6269
}

0 commit comments

Comments
 (0)