Skip to content

Commit

Permalink
update build.gradle to publish bootjar
Browse files Browse the repository at this point in the history
  • Loading branch information
v1r3n committed Oct 24, 2024
1 parent dd87476 commit 984806a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 984806a

Please sign in to comment.