diff --git a/build.gradle b/build.gradle index 70ae359..309ee9f 100644 --- a/build.gradle +++ b/build.gradle @@ -28,16 +28,14 @@ def pkgLicenses = ['BSD 3-Clause'] def pkgIssueTrackerUrl = mavenUrl + '/issues' def pkgLabels = ['jsp', 'tag library', 'http', 'status code', 'java'] -def getVersion(isIncrement = false) -{ +def getVersion(isIncrement = false) { def propsFile = 'version.properties' def majorKey = 'version.major' def minorKey = 'version.minor' def patchKey = 'version.patch' def metaKey = 'version.buildmeta' def preKey = 'version.prerelease' - if (isIncrement) - { + if (isIncrement) { ant.propertyfile(file: propsFile) { entry(key: patchKey, type: 'int', @@ -231,4 +229,4 @@ task pandoc(type: Exec) { ext.output = { return standardOutput.toString() } -} \ No newline at end of file +}