build(sidecar): pin shadowJar output name to sidecar-all.jar (#3)

This commit is contained in:
pj authored and GitHub committed 2026-04-18 09:05:00 +07:00
1 parent 2b006aabd8
commit f57634809e
1 file changed
+7
+7
View File
@@ -73,6 +73,13 @@ application {
mainClass.set("dev.uatu.sidecar.MainKt") mainClass.set("dev.uatu.sidecar.MainKt")
} }
// The Go binary embeds this fat JAR by fixed path (internal/sidecar/assets/
// sidecar-all.jar). Pin the shadow output name so the embed step doesn't
// depend on `version`.
tasks.named<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>("shadowJar") {
archiveFileName.set("sidecar-all.jar")
}
// JUnit 4 (vintage) for the gRPC GrpcCleanupRule + JUnit 5 (jupiter) // JUnit 4 (vintage) for the gRPC GrpcCleanupRule + JUnit 5 (jupiter)
// for the rest. UseJUnitPlatform with the vintage engine handles both. // for the rest. UseJUnitPlatform with the vintage engine handles both.
tasks.test { tasks.test {