Publish of Github pages from Gradle.
This commit is contained in:
parent
74128442ea
commit
65e1b21a1c
|
@ -6,9 +6,9 @@
|
|||
|
||||
<html>
|
||||
<head>
|
||||
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:06 PDT 2015 -->
|
||||
<!-- Generated by groovydoc (2.3.3) on Wed Jul 22 06:48:03 PDT 2015 -->
|
||||
<title>JRubyJar.Type (jruby-gradle-jar-plugin 0.4.1)</title>
|
||||
<meta name="date" content="2015-07-21">
|
||||
<meta name="date" content="2015-07-22">
|
||||
<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">
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
|
||||
<html>
|
||||
<head>
|
||||
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:06 PDT 2015 -->
|
||||
<!-- Generated by groovydoc (2.3.3) on Wed Jul 22 06:48:03 PDT 2015 -->
|
||||
<title>JRubyJar (jruby-gradle-jar-plugin 0.4.1)</title>
|
||||
<meta name="date" content="2015-07-21">
|
||||
<meta name="date" content="2015-07-22">
|
||||
<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">
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
|
||||
<html>
|
||||
<head>
|
||||
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:06 PDT 2015 -->
|
||||
<!-- Generated by groovydoc (2.3.3) on Wed Jul 22 06:48:03 PDT 2015 -->
|
||||
<title>JRubyJarPlugin (jruby-gradle-jar-plugin 0.4.1)</title>
|
||||
<meta name="date" content="2015-07-21">
|
||||
<meta name="date" content="2015-07-22">
|
||||
<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">
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
|
||||
<html>
|
||||
<head>
|
||||
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:06 PDT 2015 -->
|
||||
<!-- Generated by groovydoc (2.3.3) on Wed Jul 22 06:48:03 PDT 2015 -->
|
||||
<title>JRubyDirInfo (jruby-gradle-jar-plugin 0.4.1)</title>
|
||||
<meta name="date" content="2015-07-21">
|
||||
<meta name="date" content="2015-07-22">
|
||||
<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">
|
||||
|
|
|
@ -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 0.4.1 API)</title>
|
||||
<meta name="date" content="2015-07-21">
|
||||
<meta name="date" content="2015-07-22">
|
||||
<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">
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<title>API Help (jruby-gradle-jar-plugin 0.4.1 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-07-21">
|
||||
<meta name="date" content="2015-07-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body class="center">
|
||||
|
|
|
@ -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 0.4.1 API)</title>
|
||||
<meta name="date" content="2015-07-21">
|
||||
<meta name="date" content="2015-07-22">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body class="center">
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
56
index.html
56
index.html
|
@ -117,8 +117,7 @@ task printSomePrettyOutputPlease(type: JRubyExec) {
|
|||
<div class="listingblock">
|
||||
<div class="title">print-script.rb</div>
|
||||
<div class="content">
|
||||
<pre class="CodeRay highlight nowrap"><code data-lang="ruby"><span class="doctype">#!/usr/bin/env ruby</span>
|
||||
require <span class="string"><span class="delimiter">'</span><span class="content">colorize</span><span class="delimiter">'</span></span>
|
||||
<pre class="CodeRay highlight nowrap"><code data-lang="ruby">require <span class="string"><span class="delimiter">'</span><span class="content">colorize</span><span class="delimiter">'</span></span>
|
||||
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">-</span><span class="delimiter">"</span></span> * <span class="integer">20</span>
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">Ruby version: </span><span class="inline"><span class="inline-delimiter">#{</span><span class="predefined-constant">RUBY_VERSION</span><span class="inline-delimiter">}</span></span><span class="delimiter">"</span></span>
|
||||
|
@ -142,7 +141,60 @@ puts <span class="string"><span class="delimiter">"</span><span class="cont
|
|||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="packaging-some-ruby"><a class="anchor" href="#packaging-some-ruby"></a>Packaging some Ruby</h3>
|
||||
<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.jar"
|
||||
|
||||
dependencies {
|
||||
/* Using the built-in `gems` configuration to describe the
|
||||
* dependencies our jrubyJar task will need, so the gem is properly
|
||||
* included in the resulting .jar file
|
||||
*/
|
||||
gems "rubygems:colorize:0.7.7+"
|
||||
}
|
||||
|
||||
jrubyJar {
|
||||
/* We want to use this Ruby script as our start point when the jar executes
|
||||
*/
|
||||
initScript "${projectDir}/entrypoint.rb"
|
||||
/* make sure we use our gems from the default "gems" configuration! */
|
||||
defaultGems()
|
||||
}</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="listingblock">
|
||||
<div class="title">entrypoint.rb</div>
|
||||
<div class="content">
|
||||
<pre class="CodeRay highlight nowrap"><code data-lang="ruby">require <span class="string"><span class="delimiter">'</span><span class="content">colorize</span><span class="delimiter">'</span></span>
|
||||
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">-</span><span class="delimiter">"</span></span> * <span class="integer">20</span>
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">Ruby version: </span><span class="inline"><span class="inline-delimiter">#{</span><span class="predefined-constant">RUBY_VERSION</span><span class="inline-delimiter">}</span></span><span class="delimiter">"</span></span>
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">Ruby platform: </span><span class="inline"><span class="inline-delimiter">#{</span><span class="predefined-constant">RUBY_PLATFORM</span><span class="inline-delimiter">}</span></span><span class="delimiter">"</span></span>
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">Current file: </span><span class="inline"><span class="inline-delimiter">#{</span><span class="predefined-constant">__FILE__</span><span class="inline-delimiter">}</span></span><span class="delimiter">"</span></span>
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">-</span><span class="delimiter">"</span></span> * <span class="integer">20</span>
|
||||
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">Roses are red</span><span class="delimiter">"</span></span>.red
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">Violets are blue</span><span class="delimiter">"</span></span>.blue
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">I can use JRuby/Gradle</span><span class="delimiter">"</span></span>.green
|
||||
puts <span class="string"><span class="delimiter">"</span><span class="content">And now you can too!</span><span class="delimiter">"</span></span>.yellow</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>Executing <code>./gradlew jrubyJar</code> will build a <code>.jar</code> file inside of the
|
||||
<code>build/libs</code> directory which can then be invoked:</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p><code>% java -jar build/libs/self-executing-jar-jruby.jar</code></p>
|
||||
</div>
|
||||
<div class="imageblock">
|
||||
<div class="content">
|
||||
<img src="images/self-executing-jar-output.png" alt="self executing jar output">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -53,9 +53,9 @@ JRuby/Gradle News
|
|||
<h1>
|
||||
<a href='/news/2015/07/09/jrubyjar-improvements.html'></a>
|
||||
</h1>
|
||||
<h2>
|
||||
<strong>
|
||||
09 July 2015
|
||||
</h2>
|
||||
</strong>
|
||||
<div class='content'>
|
||||
<div class="sect1">
|
||||
<h2 id="improvements-to-jar-packaging"><a class="anchor" href="#improvements-to-jar-packaging"></a>Improvements to jar packaging</h2>
|
||||
|
@ -71,9 +71,9 @@ JRuby/Gradle News
|
|||
<h1>
|
||||
<a href='/news/2015/07/08/new-jruby-default.html'></a>
|
||||
</h1>
|
||||
<h2>
|
||||
<strong>
|
||||
08 July 2015
|
||||
</h2>
|
||||
</strong>
|
||||
<div class='content'>
|
||||
<div class="sect1">
|
||||
<h2 id="jruby-1-7-21-now-defaulted"><a class="anchor" href="#jruby-1-7-21-now-defaulted"></a>JRuby 1.7.21 now defaulted</h2>
|
||||
|
|
40
sitemap.xml
40
sitemap.xml
|
@ -1,73 +1,73 @@
|
|||
<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/base.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/community.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/cookbook.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/docinfo.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/docs.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/download.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/examples/basic-topology.gradle</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/examples/building-wars.gradle</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/examples/executable-jar.gradle</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/examples/rspec.gradle</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/jar.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
|
@ -85,49 +85,49 @@
|
|||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/news.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/plugins/base.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/plugins/jar.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/plugins/storm.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/plugins/war.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/start.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/storm.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://jruby-gradle.org/war.html</loc>
|
||||
<lastmod>2015-07-21</lastmod>
|
||||
<lastmod>2015-07-22</lastmod>
|
||||
<priority>0.1</priority>
|
||||
<changefreq>never</changefreq>
|
||||
</url>
|
||||
|
|
Loading…
Reference in New Issue