Publish of Github pages from Gradle.

This commit is contained in:
R. Tyler Croy 2015-09-16 07:18:07 -07:00
parent 864c808b39
commit eae5552aa5
30 changed files with 117 additions and 90 deletions

View File

@ -378,18 +378,45 @@ task unpackMyGems(type : JRubyPrepare) {
<h2 id="advanced-usage"><a class="anchor" href="#advanced-usage"></a>Advanced Usage</h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="using-the-built-in-gem-proxy"><a class="anchor" href="#using-the-built-in-gem-proxy"></a>Using the built-in Gem proxy</h3>
<div class="paragraph">
<p>As of version 1.1.0, the JRuby/Gradle base plugin supports embedding a
<a href="https://github.com/torquebox/rubygems-servlets">rubygems-servlets</a> process
<strong>inside</strong> the Gradle process itself. This obviates the need for a third-party
proxy to present the Maven-compatible dependency information that JRuby/Gradle
relies on.</p>
</div>
<div class="listingblock">
<div class="title">build.gradle</div>
<div class="content">
<pre class="CodeRay highlight nowrap"><code data-lang="gradle">apply plugin: 'com.github.jruby-gradle.base'
/* Disable our default repositories */
jruby.defaultRepositories false
repositories {
rubygems('https://rubygems.org')
}
dependencies {
gems 'rubygems:sinatra:1.4.5'
}</code></pre>
</div>
</div>
</div>
<div class="sect2">
<h3 id="using-a-custom-gem-repository"><a class="anchor" href="#using-a-custom-gem-repository"></a>Using a custom Gem repository</h3>
<div class="paragraph">
<p>By default the jruby plugin will use
[rubygems-proxy.torquebox.org](<a href="http://rubygems-proxy.torquebox.org" class="bare">http://rubygems-proxy.torquebox.org</a>) as its
source of Ruby gems. This is a server operated by the Torquebox project which
presents [rubygems.org](<a href="https://rubygems.org" class="bare">https://rubygems.org</a>) as a Maven repository.</p>
<a href="http://rubygems.lasanga.io">rubygems.lasanga.io</a> as its source of Ruby
gems. This is a server operated by <a href="https://github.com/rtyler">R. Tyler
Croy</a> and it presents a Maven repository of the data from
<a href="https://rubygems.org">rubygems.org</a>.</p>
</div>
<div class="paragraph">
<p>If you <strong>do not</strong> wish to use this repository, you can run your own Maven
proxy repository for either rubygems.org or your own gem repository by
running the [rubygems-servlets](<a href="https://github.com/torquebox/rubygems-servlets" class="bare">https://github.com/torquebox/rubygems-servlets</a>)
server.</p>
<p>If you <strong>do not</strong> wish to use this repository, you can run your own Maven proxy
repository for either rubygems.org or your own gem repository by running the
<a href="https://github.com/torquebox/rubygems-servlets">rubygems-servlets</a> server.</p>
</div>
<div class="paragraph">
<p>You can then use that custom Gem repository with:</p>
@ -398,7 +425,7 @@ server.</p>
<div class="title">build.gradle</div>
<div class="content">
<pre class="CodeRay highlight nowrap"><code data-lang="gradle">jruby {
defaultRepositories = false
defaultRepositories false
}
repositories {
@ -406,7 +433,7 @@ repositories {
}
dependencies {
gems group: 'com.lookout', name: 'custom-gem', version: '1.0.+'
gems 'rubygems:my-custom-gem:1.0.1'
}</code></pre>
</div>
</div>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:12 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:17:56 PDT 2015 -->
<title>GemUtils.OverwriteAction (jruby-gradle-base-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:12 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:17:56 PDT 2015 -->
<title>GemUtils (jruby-gradle-base-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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">

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:13 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:17:56 PDT 2015 -->
<title>JRubyPlugin (jruby-gradle-base-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:13 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:17:56 PDT 2015 -->
<title>JRubyPluginExtension (jruby-gradle-base-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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">
@ -119,7 +119,7 @@ if (location.href.indexOf('is-external=true') == -1) {
<tr class="altColor">
<td class="colFirst"><code><strong>java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#defaultVersion"></a>defaultVersion</code><br>The default version of jruby that will be used by jrubyWar</td>
<td class="colLast"><code><a href="#defaultVersion"></a>defaultVersion</code><br>The default version of jruby that will be used</td>
</tr>
<tr class="rowColor">
@ -284,7 +284,7 @@ boolean <strong>defaultRepositories</strong></h4>
<ul class="blockListLast">
<li class="blockList">
<h4>java.lang.String <strong>defaultVersion</strong></h4>
<p> The default version of jruby that will be used by jrubyWar </p>
<p> The default version of jruby that will be used </p>
</li>
</ul>

File diff suppressed because one or more lines are too long

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:12 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:17:56 PDT 2015 -->
<title>GemVersion (jruby-gradle-base-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:12 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:17:56 PDT 2015 -->
<title>GemVersionResolver (jruby-gradle-base-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:12 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:17:56 PDT 2015 -->
<title>JRubyExecDelegate (jruby-gradle-base-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:13 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:17:56 PDT 2015 -->
<title>JRubyExecTraits (jruby-gradle-base-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:13 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:17:56 PDT 2015 -->
<title>JRubyExecUtils (jruby-gradle-base-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:13 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:17:57 PDT 2015 -->
<title>RubygemsServlet (jruby-gradle-base-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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

@ -5,7 +5,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.3.3) on -->
<title>Deprecated API (jruby-gradle-base-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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">

View File

@ -8,7 +8,7 @@
<title>API Help (jruby-gradle-base-plugin 1.1.0 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-09-10">
<meta name="date" content="2015-09-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body class="center">

View File

@ -5,7 +5,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.3.3) on -->
<title>Index (jruby-gradle-base-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body class="center">

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:17 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:18:00 PDT 2015 -->
<title>JRubyJar.Type (jruby-gradle-jar-plugin 1.1.0)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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">

File diff suppressed because one or more lines are too long

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:17 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:18:00 PDT 2015 -->
<title>JRubyJarPlugin (jruby-gradle-jar-plugin 1.1.0)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:15 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:17:59 PDT 2015 -->
<title>JRubyDirInfo (jruby-gradle-jar-plugin 1.1.0)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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

@ -5,7 +5,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.3.3) on -->
<title>Deprecated API (jruby-gradle-jar-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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">

View File

@ -8,7 +8,7 @@
<title>API Help (jruby-gradle-jar-plugin 1.1.0 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-09-10">
<meta name="date" content="2015-09-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body class="center">

View File

@ -5,7 +5,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.3.3) on -->
<title>Index (jruby-gradle-jar-plugin 1.1.0 API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body class="center">

File diff suppressed because one or more lines are too long

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Thu Sep 10 15:25:21 PDT 2015 -->
<!-- Generated by groovydoc (2.3.3) on Wed Sep 16 07:18:03 PDT 2015 -->
<title>JRubyWarPlugin (jruby-gradle-war-plugin 1.1.0-alpha API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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

@ -5,7 +5,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.3.3) on -->
<title>Deprecated API (jruby-gradle-war-plugin 1.1.0-alpha API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<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">

View File

@ -8,7 +8,7 @@
<title>API Help (jruby-gradle-war-plugin 1.1.0-alpha 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-09-10">
<meta name="date" content="2015-09-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body class="center">

View File

@ -5,7 +5,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.3.3) on -->
<title>Index (jruby-gradle-war-plugin 1.1.0-alpha API)</title>
<meta name="date" content="2015-09-10">
<meta name="date" content="2015-09-16">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body class="center">

View File

@ -1,85 +1,85 @@
<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>
<url>
<loc>http://jruby-gradle.org/base/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/community/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/cookbook/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/docinfo/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/docs/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/docs.iml</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/download/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/errors/jrubyexec-version-conflict/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/examples/basic-topology.gradle</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/examples/building-wars.gradle</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/examples/executable-jar.gradle</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/examples/rspec.gradle</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/jar/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
@ -109,49 +109,49 @@
</url>
<url>
<loc>http://jruby-gradle.org/news/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/plugins/base/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/plugins/jar/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/plugins/storm/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/plugins/war/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/start/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/storm/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/war/</loc>
<lastmod>2015-09-10</lastmod>
<lastmod>2015-09-16</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>