Skip to content

Commit

Permalink
Include build info into spring actuator.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pfeil committed Feb 1, 2023
1 parent 1ab5293 commit 111e729
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ plugins {
//id "com.github.kt3k.coveralls" version "2.12.0"
id "org.owasp.dependencycheck" version "8.0.2"
id 'org.asciidoctor.jvm.convert' version '3.3.2'
// include build and git information via Spring Actuator
id "com.gorylenko.gradle-git-properties" version "2.4.1"
}

lombok {
Expand Down Expand Up @@ -184,6 +186,10 @@ jacocoTestReport {
}
}

springBoot {
buildInfo()
}

release {
// define tag pattern (tags have to start with 'v')
tagTemplate = 'v${version}'
Expand Down

0 comments on commit 111e729

Please sign in to comment.