Added version to info log.
This commit is contained in:
parent
d3f7203011
commit
2f96e48186
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ class SemverPlugin : Plugin<Project> {
|
||||||
throw GradleException("Unable to read version from: `$absoluteFile`")
|
throw GradleException("Unable to read version from: `$absoluteFile`")
|
||||||
}
|
}
|
||||||
project.version = version.semver
|
project.version = version.semver
|
||||||
|
project.logger.info("[${SemverPlugin::class.simpleName}] Project version set to: ${project.version}")
|
||||||
saveProperties(config, version)
|
saveProperties(config, version)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue