Skip to content

Commit

Permalink
Add docs to gradle 'showVersion' task
Browse files Browse the repository at this point in the history
  • Loading branch information
tumbarumba committed Sep 8, 2024
1 parent da41f2e commit 171326f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ group = "org.hamcrest"
version = getMavenVersion()

tasks.register("showVersion") {
group = "Build"
description = "Show the version, as derived from git tags"
doLast {
println("git version: " + getGitVersion())
println("mvn version: " + getMavenVersion())
Expand Down

0 comments on commit 171326f

Please sign in to comment.