From ce8833ca53af0d2bffdfcae980fdd77ae748736b Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Wed, 16 Dec 2015 15:27:09 -0800 Subject: [PATCH] Fixed release task. --- README.html | 4 ++-- build.gradle | 11 +++++++---- buildnumber.properties | 4 ++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/README.html b/README.html index ea0b7e0..59e7117 100644 --- a/README.html +++ b/README.html @@ -88,7 +88,7 @@

hs:cause

escapeXml -Converts <,>,&,'," to their corresponding entity codes. Value is true by default. +Converts <, >, &, ', " to their corresponding entity codes. Value is true by default. @@ -119,7 +119,7 @@

hs:reason

escapeXml -Converts <,>,&,'," to their corresponding entity codes. Value is true by default. +Converts <, >, &, ', " to their corresponding entity codes. Value is true by default. diff --git a/build.gradle b/build.gradle index 1827352..06ed5f0 100644 --- a/build.gradle +++ b/build.gradle @@ -44,10 +44,12 @@ compileJava { jar { - def props = new Properties() - file(buildProps).withInputStream { stream -> props.load(stream) } - version = version + '.' + props.get(buildProp) - archiveName = archiveName.toLowerCase() + doFirst { + def props = new Properties() + file(buildProps).withInputStream { stream -> props.load(stream) } + project.version = version + '.' + props.get(buildProp) + archiveName = archiveName.toLowerCase() + } manifest.attributes('Main-Class': mainClassName) } @@ -83,6 +85,7 @@ task deploy(dependsOn: ['build', 'copyToDeploy']) { task release(dependsOn: ['deploy', 'pandoc', 'wrapper']) { group = "Publishing" description = "Releases new version." + isRelease = true } task pandoc(type: Exec) { diff --git a/buildnumber.properties b/buildnumber.properties index d2aa0ba..3e07ecc 100644 --- a/buildnumber.properties +++ b/buildnumber.properties @@ -1,2 +1,2 @@ -#Wed, 02 Dec 2015 15:38:42 -0800 -build=0 +#Wed, 16 Dec 2015 15:35:34 -0800 +build=1