Skip to content

Commit ce8833c

Browse files
committed
Fixed release task.
1 parent f5f9d5c commit ce8833c

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

README.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h2 id="hscause">hs:cause</h2>
8888
</tr>
8989
<tr class="even">
9090
<td style="text-align: left;"><code>escapeXml</code></td>
91-
<td style="text-align: left;">Converts &lt;,&gt;,&amp;,',&quot; to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
91+
<td style="text-align: left;">Converts &lt;, &gt;, &amp;, ', &quot; to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
9292
</tr>
9393
</tbody>
9494
</table>
@@ -119,7 +119,7 @@ <h2 id="hsreason">hs:reason</h2>
119119
</tr>
120120
<tr class="odd">
121121
<td style="text-align: left;"><code>escapeXml</code></td>
122-
<td style="text-align: left;">Converts &lt;,&gt;,&amp;,',&quot; to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
122+
<td style="text-align: left;">Converts &lt;, &gt;, &amp;, ', &quot; to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
123123
</tr>
124124
</tbody>
125125
</table>

build.gradle

+7-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ compileJava {
4444

4545

4646
jar {
47-
def props = new Properties()
48-
file(buildProps).withInputStream { stream -> props.load(stream) }
49-
version = version + '.' + props.get(buildProp)
50-
archiveName = archiveName.toLowerCase()
47+
doFirst {
48+
def props = new Properties()
49+
file(buildProps).withInputStream { stream -> props.load(stream) }
50+
project.version = version + '.' + props.get(buildProp)
51+
archiveName = archiveName.toLowerCase()
52+
}
5153
manifest.attributes('Main-Class': mainClassName)
5254
}
5355

@@ -83,6 +85,7 @@ task deploy(dependsOn: ['build', 'copyToDeploy']) {
8385
task release(dependsOn: ['deploy', 'pandoc', 'wrapper']) {
8486
group = "Publishing"
8587
description = "Releases new version."
88+
isRelease = true
8689
}
8790

8891
task pandoc(type: Exec) {

buildnumber.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#Wed, 02 Dec 2015 15:38:42 -0800
2-
build=0
1+
#Wed, 16 Dec 2015 15:35:34 -0800
2+
build=1

0 commit comments

Comments
 (0)