From 984806ab91142e7062ab1f8b1b76f9a8687a7223 Mon Sep 17 00:00:00 2001 From: Viren Baraiya Date: Thu, 24 Oct 2024 00:34:01 -0700 Subject: [PATCH] update build.gradle to publish bootjar --- server/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/build.gradle b/server/build.gradle index 09c0ce0c2..fdf7646be 100644 --- a/server/build.gradle +++ b/server/build.gradle @@ -94,6 +94,14 @@ bootJar { archiveClassifier = 'boot' } +publishing { + publications { + mavenJava(MavenPublication) { + artifact bootJar + } + } +} + // https://docs.spring.io/spring-boot/docs/current/gradle-plugin/reference/htmlsingle/#integrating-with-actuator.build-info // This will configure a BuildInfo task named bootBuildInfo springBoot {