We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3979ccb commit 382ee91Copy full SHA for 382ee91
auth-service-app/build.gradle.kts
@@ -45,7 +45,7 @@ configurations.matching { it.name == "detekt" }.all {
45
}
46
47
application {
48
- mainClass.set("io.ktor.server.netty.EngineMain")
+ mainClass.set("ru.somarov.auth.AppKt")
49
50
51
ktor {
@@ -54,6 +54,12 @@ ktor {
54
55
56
57
+tasks {
58
+ shadowJar {
59
+ mergeServiceFiles() // for micrometer reactor context propagation
60
+ }
61
+}
62
+
63
tasks.register("generateBuildInfo") {
64
group = "build"
65
description = "Generates build-info.properties file with build metadata."
@@ -76,6 +82,9 @@ tasks.named("jar") {
76
82
dependsOn("generateBuildInfo")
77
83
78
84
85
+tasks.named("buildFatJar") {
86
+ dependsOn("generateBuildInfo")
87
79
88
80
89
tasks.withType<Test> {
81
90
useJUnitPlatform()
0 commit comments