Fixed release task.

This commit is contained in:
Erik C. Thauvin 2015-12-16 15:27:09 -08:00
parent f5f9d5cbda
commit ce8833ca53
3 changed files with 11 additions and 8 deletions

View file

@ -88,7 +88,7 @@ Cause: &lt;pre&gt;<span class="kw">&lt;hs:cause</span><span class="ot"> default<
</tr> </tr>
<tr class="even"> <tr class="even">
<td style="text-align: left;"><code>escapeXml</code></td> <td style="text-align: left;"><code>escapeXml</code></td>
<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> <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>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@ -119,7 +119,7 @@ Cause: &lt;pre&gt;<span class="kw">&lt;hs:cause</span><span class="ot"> default<
</tr> </tr>
<tr class="odd"> <tr class="odd">
<td style="text-align: left;"><code>escapeXml</code></td> <td style="text-align: left;"><code>escapeXml</code></td>
<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> <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>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -44,10 +44,12 @@ compileJava {
jar { jar {
def props = new Properties() doFirst {
file(buildProps).withInputStream { stream -> props.load(stream) } def props = new Properties()
version = version + '.' + props.get(buildProp) file(buildProps).withInputStream { stream -> props.load(stream) }
archiveName = archiveName.toLowerCase() project.version = version + '.' + props.get(buildProp)
archiveName = archiveName.toLowerCase()
}
manifest.attributes('Main-Class': mainClassName) manifest.attributes('Main-Class': mainClassName)
} }
@ -83,6 +85,7 @@ task deploy(dependsOn: ['build', 'copyToDeploy']) {
task release(dependsOn: ['deploy', 'pandoc', 'wrapper']) { task release(dependsOn: ['deploy', 'pandoc', 'wrapper']) {
group = "Publishing" group = "Publishing"
description = "Releases new version." description = "Releases new version."
isRelease = true
} }
task pandoc(type: Exec) { task pandoc(type: Exec) {

View file

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