From 37d2f8b98a350e2e1e4d15a702a898ce93481a24 Mon Sep 17 00:00:00 2001 From: TheMeinerLP Date: Mon, 22 Jun 2026 18:42:52 +0200 Subject: [PATCH] fix(publish): publish only the thin jar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drop the full distribution tar/zip (optimizedDistTar/Zip) and the fat runner jars from the Maven publication. These bundle every dependency and are not useful as Maven artifacts — the runnable deliverable is the Docker image. Mirrors the vulpes-generator publish setup. Co-Authored-By: Claude Opus 4.8 (1M context) --- build.gradle.kts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index bc93cfd..6444354 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -129,12 +129,10 @@ tasks { publishing { publications.create("maven") { - artifact(project.tasks.optimizedJitJar) - artifact(project.tasks.optimizedRunnerJitJar) - artifact(project.tasks.runnerJar) + // Only the thin application jar is published. The fat runner jars and the + // full distribution tar/zip bundle every dependency; the runnable artifact + // is the Docker image, not a Maven artifact. artifact(project.tasks.jar) - artifact(project.tasks.optimizedDistTar) - artifact(project.tasks.optimizedDistZip) version = rootProject.version as String artifactId = "vulpes-backend"