Fixed release task.
This commit is contained in:
parent
f5f9d5cbda
commit
ce8833ca53
3 changed files with 11 additions and 8 deletions
|
@ -88,7 +88,7 @@ Cause: <pre><span class="kw"><hs:cause</span><span class="ot"> default<
|
|||
</tr>
|
||||
<tr class="even">
|
||||
<td style="text-align: left;"><code>escapeXml</code></td>
|
||||
<td style="text-align: left;">Converts <,>,&,'," to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
|
||||
<td style="text-align: left;">Converts <, >, &, ', " to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -119,7 +119,7 @@ Cause: <pre><span class="kw"><hs:cause</span><span class="ot"> default<
|
|||
</tr>
|
||||
<tr class="odd">
|
||||
<td style="text-align: left;"><code>escapeXml</code></td>
|
||||
<td style="text-align: left;">Converts <,>,&,'," to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
|
||||
<td style="text-align: left;">Converts <, >, &, ', " to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -44,10 +44,12 @@ compileJava {
|
|||
|
||||
|
||||
jar {
|
||||
doFirst {
|
||||
def props = new Properties()
|
||||
file(buildProps).withInputStream { stream -> props.load(stream) }
|
||||
version = version + '.' + props.get(buildProp)
|
||||
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) {
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#Wed, 02 Dec 2015 15:38:42 -0800
|
||||
build=0
|
||||
#Wed, 16 Dec 2015 15:35:34 -0800
|
||||
build=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue