Code formatting.
This commit is contained in:
parent
9cf5ee8fbc
commit
2c1602f331
1 changed files with 2 additions and 4 deletions
|
@ -11,16 +11,14 @@ def packageName = 'net.thauvin.erik.mobibot'
|
|||
def deployDir = 'deploy'
|
||||
def isRelease = 'release' in gradle.startParameter.taskNames
|
||||
|
||||
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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue