Support publishing the sources and groovydoc jars

Fixes #10
This commit is contained in:
R. Tyler Croy 2015-03-25 11:02:27 -07:00
parent b4e84f04f5
commit 7c4a31efb5
18 changed files with 79 additions and 62 deletions

View File

@ -91,6 +91,23 @@ check.dependsOn groovydoc
////////////////////////////////////////////////////////////////////////////////
// PUBLISHING TASKS
////////////////////////////////////////////////////////////////////////////////
/* Add the sources jar to the list of artifacts to publish */
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task groovydocJar(type: Jar, dependsOn: groovydoc) {
classifier = 'groovydoc'
from groovydoc.destinationDir
}
artifacts {
archives sourcesJar
archives groovydocJar
}
task publishDocs(type: Exec) {
/* If for whatever reason you need to force-push the gh-pages branch this
* command will work:

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.4.0) on Thu Mar 19 17:25:23 EDT 2015 -->
<title>AbstractHookQueue (whoas 0.1.4 API)</title>
<meta name="date" content="2015-03-19">
<!-- Generated by groovydoc (2.4.0) on Wed Mar 25 11:00:01 PDT 2015 -->
<title>AbstractHookQueue (whoas 0.1.5 API)</title>
<meta name="date" content="2015-03-25">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
@ -17,7 +17,7 @@
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractHookQueue (whoas 0.1.4 API)";
parent.document.title="AbstractHookQueue (whoas 0.1.5 API)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.4.0) on Thu Mar 19 17:25:23 EDT 2015 -->
<title>AbstractHookRunner (whoas 0.1.4 API)</title>
<meta name="date" content="2015-03-19">
<!-- Generated by groovydoc (2.4.0) on Wed Mar 25 11:00:01 PDT 2015 -->
<title>AbstractHookRunner (whoas 0.1.5 API)</title>
<meta name="date" content="2015-03-25">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
@ -17,7 +17,7 @@
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractHookRunner (whoas 0.1.4 API)";
parent.document.title="AbstractHookRunner (whoas 0.1.5 API)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.4.0) on Thu Mar 19 17:25:23 EDT 2015 -->
<title>HookRequest (whoas 0.1.4 API)</title>
<meta name="date" content="2015-03-19">
<!-- Generated by groovydoc (2.4.0) on Wed Mar 25 11:00:01 PDT 2015 -->
<title>HookRequest (whoas 0.1.5 API)</title>
<meta name="date" content="2015-03-25">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
@ -17,7 +17,7 @@
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="HookRequest (whoas 0.1.4 API)";
parent.document.title="HookRequest (whoas 0.1.5 API)";
}
//-->
</script>
@ -120,8 +120,8 @@ if (location.href.indexOf('is-external=true') == -1) {
<tr class="rowColor">
<td class="colFirst">
<code><a href="#HookRequest(java.lang.String, java.lang.String)">HookRequest</a></strong>
(java.lang.String hookUrl, java.lang.String hookData)</code><br>Default constructor for creating a simple HookRequest with a URL and the
<code><a href="#HookRequest(java.lang.String, java.lang.String, java.lang.String)">HookRequest</a></strong>
(java.lang.String hookUrl, java.lang.String hookData, java.lang.String contentType)</code><br>Default constructor for creating a simple HookRequest with a URL and the
POST data to be delivered to that URL</td>
</tr>
@ -186,10 +186,10 @@ if (location.href.indexOf('is-external=true') == -1) {
</li>
</ul>
<a name="HookRequest(java.lang.String, java.lang.String)"><!-- --></a>
<a name="HookRequest(java.lang.String, java.lang.String, java.lang.String)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4><strong>HookRequest</strong>(java.lang.String hookUrl, java.lang.String hookData)</h4>
<h4><strong>HookRequest</strong>(java.lang.String hookUrl, java.lang.String hookData, java.lang.String contentType)</h4>
<p> Default constructor for creating a simple HookRequest with a URL and the
POST data to be delivered to that URL
</p>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.4.0) on Thu Mar 19 17:25:23 EDT 2015 -->
<title>InMemoryQueue (whoas 0.1.4 API)</title>
<meta name="date" content="2015-03-19">
<!-- Generated by groovydoc (2.4.0) on Wed Mar 25 11:00:01 PDT 2015 -->
<title>InMemoryQueue (whoas 0.1.5 API)</title>
<meta name="date" content="2015-03-25">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
@ -17,7 +17,7 @@
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="InMemoryQueue (whoas 0.1.4 API)";
parent.document.title="InMemoryQueue (whoas 0.1.5 API)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.4.0) on Thu Mar 19 17:25:23 EDT 2015 -->
<title>Publisher (whoas 0.1.4 API)</title>
<meta name="date" content="2015-03-19">
<!-- Generated by groovydoc (2.4.0) on Wed Mar 25 11:00:01 PDT 2015 -->
<title>Publisher (whoas 0.1.5 API)</title>
<meta name="date" content="2015-03-25">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
@ -17,7 +17,7 @@
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Publisher (whoas 0.1.4 API)";
parent.document.title="Publisher (whoas 0.1.5 API)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.4.0) on Thu Mar 19 17:25:23 EDT 2015 -->
<title>RedisQueue (whoas 0.1.4 API)</title>
<meta name="date" content="2015-03-19">
<!-- Generated by groovydoc (2.4.0) on Wed Mar 25 11:00:01 PDT 2015 -->
<title>RedisQueue (whoas 0.1.5 API)</title>
<meta name="date" content="2015-03-25">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
@ -17,7 +17,7 @@
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RedisQueue (whoas 0.1.4 API)";
parent.document.title="RedisQueue (whoas 0.1.5 API)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.4.0) on Thu Mar 19 17:25:23 EDT 2015 -->
<title>SequentialHookRunner (whoas 0.1.4 API)</title>
<meta name="date" content="2015-03-19">
<!-- Generated by groovydoc (2.4.0) on Wed Mar 25 11:00:01 PDT 2015 -->
<title>SequentialHookRunner (whoas 0.1.5 API)</title>
<meta name="date" content="2015-03-25">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
@ -17,7 +17,7 @@
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SequentialHookRunner (whoas 0.1.4 API)";
parent.document.title="SequentialHookRunner (whoas 0.1.5 API)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.4.0) on Thu Mar 19 17:25:23 EDT 2015 -->
<title>WhoasConfiguration (whoas 0.1.4 API)</title>
<meta name="date" content="2015-03-19">
<!-- Generated by groovydoc (2.4.0) on Wed Mar 25 11:00:01 PDT 2015 -->
<title>WhoasConfiguration (whoas 0.1.5 API)</title>
<meta name="date" content="2015-03-25">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
@ -17,7 +17,7 @@
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="WhoasConfiguration (whoas 0.1.4 API)";
parent.document.title="WhoasConfiguration (whoas 0.1.5 API)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.4.0) on Thu Mar 19 17:25:23 EDT 2015 -->
<title>WhoasFactory (whoas 0.1.4 API)</title>
<meta name="date" content="2015-03-19">
<!-- Generated by groovydoc (2.4.0) on Wed Mar 25 11:00:01 PDT 2015 -->
<title>WhoasFactory (whoas 0.1.5 API)</title>
<meta name="date" content="2015-03-25">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
@ -17,7 +17,7 @@
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="WhoasFactory (whoas 0.1.4 API)";
parent.document.title="WhoasFactory (whoas 0.1.5 API)";
}
//-->
</script>
@ -268,7 +268,7 @@ java.lang.String <strong>runnerType</strong></h4>
InstantiationException - if this Class represents an abstract class, an interface,
an array class, a primitive type, or void
or if the class has no nullary constructor
or if the instantiation fails for some other reason. <DL><DT><B>Parameters:</B></DT><DD><code>hookQueue</code> - queue to associate with allocated runner</DD></DL><DL><DT><B>Returns:</B></DT><DD></DD></DL></p>
or if the instantiation fails for some other reason. <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>hookQueue</code> - queue to associate with allocated runner</DD></DL></p>
</li>
</ul>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.4.0) on Thu Mar 19 17:25:23 EDT 2015 -->
<title>WhoasQueueConfig (whoas 0.1.4 API)</title>
<meta name="date" content="2015-03-19">
<!-- Generated by groovydoc (2.4.0) on Wed Mar 25 11:00:01 PDT 2015 -->
<title>WhoasQueueConfig (whoas 0.1.5 API)</title>
<meta name="date" content="2015-03-25">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
@ -17,7 +17,7 @@
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="WhoasQueueConfig (whoas 0.1.4 API)";
parent.document.title="WhoasQueueConfig (whoas 0.1.5 API)";
}
//-->
</script>

View File

@ -2,7 +2,7 @@
<html>
<head>
<title>com.github.lookout.whoas (whoas 0.1.4 API)</title>
<title>com.github.lookout.whoas (whoas 0.1.5 API)</title>
<meta name="keywords" content="com.github.lookout.whoas package">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" title="Style">
@ -11,7 +11,7 @@
<script type="text/javascript">
function windowTitle()
{
parent.document.title="com.github.lookout.whoas (whoas 0.1.4 API)";
parent.document.title="com.github.lookout.whoas (whoas 0.1.5 API)";
}
</script>
<noscript>

View File

@ -4,8 +4,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.4.0) on -->
<title>Deprecated API (whoas 0.1.4 API)</title>
<meta name="date" content="2015-03-19">
<title>Deprecated API (whoas 0.1.5 API)</title>
<meta name="date" content="2015-03-25">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link href="groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="groovy.ico" type="image/x-icon" rel="icon">
@ -14,7 +14,7 @@
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated API (whoas 0.1.4 API)";
parent.document.title="Deprecated API (whoas 0.1.5 API)";
}
//-->
</script>

View File

@ -5,16 +5,16 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.4.0) on -->
<title>API Help (whoas 0.1.4 API)</title>
<title>API Help (whoas 0.1.5 API)</title>
<link href="groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="groovy.ico" type="image/x-icon" rel="icon">
<meta name="date" content="2015-03-19">
<meta name="date" content="2015-03-25">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help (whoas 0.1.4 API)";
parent.document.title="API Help (whoas 0.1.5 API)";
}
//-->
</script>

View File

@ -4,14 +4,14 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.4.0) on -->
<title>Index (whoas 0.1.4 API)</title>
<meta name="date" content="2015-03-19">
<title>Index (whoas 0.1.5 API)</title>
<meta name="date" content="2015-03-25">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Index (whoas 0.1.4 API)";
parent.document.title="Index (whoas 0.1.5 API)";
}
//-->
</script>
@ -180,7 +180,7 @@ if (location.href.indexOf('is-external=true') == -1) {
<dt><span class="strong"><a href="com/github/lookout/whoas/HookRequest.html" title="Class in com.github.lookout.whoas">HookRequest</a></span> - Class in <a href="./com/github/lookout/whoas/package-summary.html">com.github.lookout.whoas</a>
</dt><dd><div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/lookout/whoas/HookRequest.html#HookRequest(java.lang.String, java.lang.String)" title="Constructor in HookRequest">HookRequest(String, String)</a></span> - Constructor in <a href="com/github/lookout/whoas/HookRequest.html">HookRequest</a>
<dt><span class="strong"><a href="com/github/lookout/whoas/HookRequest.html#HookRequest(java.lang.String, java.lang.String, java.lang.String)" title="Constructor in HookRequest">HookRequest(String, String, String)</a></span> - Constructor in <a href="com/github/lookout/whoas/HookRequest.html">HookRequest</a>
</dt><dd> <div class="block">Default constructor for creating a simple HookRequest with a URL and the
POST data to be delivered to that URL</div></dd>
</dl>

View File

@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Index (whoas 0.1.4 API)</title>
<title>Index (whoas 0.1.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="groovy.ico" type="image/x-icon" rel="icon">

View File

@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Overview (whoas 0.1.4 API)</title>
<title>Overview (whoas 0.1.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="Overview">

View File

@ -2,7 +2,7 @@
<html>
<head>
<title>Overview (whoas 0.1.4 API)</title>
<title>Overview (whoas 0.1.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="Overview">
<link rel ="stylesheet" type="text/css" href="stylesheet.css" title="Style">
@ -12,7 +12,7 @@
<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Overview (whoas 0.1.4 API)";
parent.document.title="Overview (whoas 0.1.5 API)";
}
//-->
</script>
@ -46,7 +46,7 @@ if (location.href.indexOf('is-external=true') == -1) {
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 class="title">whoas 0.1.4 API</h1>
<h1 class="title">whoas 0.1.5 API</h1>
</div>
<div class="header">