Migrated to Kotlin
This commit is contained in:
@@ -50,7 +50,7 @@ class GitFlowVersion implements Plugin<Project> {
|
||||
project.ext.isRelease = isRelease(project)
|
||||
project.version = getVersion(project)
|
||||
|
||||
project.task('version') << {
|
||||
project.task('version').doLast {
|
||||
println "Version deduced from git: '${project.version}'"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user