Code formatting.

This commit is contained in:
Erik C. Thauvin 2016-02-02 21:38:48 -08:00
parent b50a026997
commit e18fc4a9e9

View file

@ -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()
}
}
}