We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 12f425a + 17bef42 commit a54ca79Copy full SHA for a54ca79
src/main/groovy/com/palantir/gradle/gitversion/GitVersionPlugin.groovy
@@ -71,8 +71,12 @@ class GitVersionPlugin implements Plugin<Project> {
71
return new VersionDetails(tagName, commitCount)
72
}
73
74
- project.tasks.create('printVersion') << {
75
- println project.version
+ project.tasks.create('printVersion') {
+ group = 'Versioning'
76
+ description = 'Prints the project\'s configured version to standard out'
77
+ doLast {
78
+ println project.version
79
+ }
80
81
82
0 commit comments