Publish of Github pages from Gradle.

This commit is contained in:
R. Tyler Croy 2015-07-31 01:11:32 -07:00
parent 65e1b21a1c
commit f4e75ad957
67 changed files with 1070 additions and 746 deletions

View File

@ -1,7 +1,7 @@
<html>
<head>
<link href='stylesheets/foundation.css' rel='stylesheet'>
<link href='stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/stylesheets/foundation.css' rel='stylesheet'>
<link href='/stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/news.atom' rel='alternate' title='JRuby/Gradle News' type='application/atom+xml'>
<title>
Base plugin
@ -14,27 +14,27 @@ Base plugin
<div id='main_nav'>
<ul>
<li>
<a href='index.html'>
<a href='/'>
Home
</a>
</li>
<li>
<a href='docs.html'>
<a href='/docs/'>
Documentation
</a>
</li>
<li>
<a href='community.html'>
<a href='/community/'>
Community
</a>
</li>
<li>
<a href='news.html'>
<a href='/news/'>
News
</a>
</li>
<li>
<a href='download.html'>
<a href='/download/'>
Download
</a>
</li>
@ -82,7 +82,7 @@ Base plugin
dependencies {
<span class="comment">/* check jruby-gradle.org for the latest release */</span>
classpath <span class="string"><span class="delimiter">&quot;</span><span class="content">com.github.jruby-gradle:jruby-gradle-plugin:0.4.0</span><span class="delimiter">&quot;</span></span>
classpath <span class="string"><span class="delimiter">&quot;</span><span class="content">com.github.jruby-gradle:jruby-gradle-plugin:1.0.0</span><span class="delimiter">&quot;</span></span>
}
}
@ -101,7 +101,8 @@ apply <span class="key">plugin</span>: <span class="string"><span class="delimit
<div class="content">
<pre class="CodeRay highlight nowrap"><code data-lang="groovy">dependencies {
gems <span class="key">group</span>: <span class="string"><span class="delimiter">'</span><span class="content">rubygems</span><span class="delimiter">'</span></span>, <span class="key">name</span>: <span class="string"><span class="delimiter">'</span><span class="content">sinatra</span><span class="delimiter">'</span></span>, <span class="key">version</span>: <span class="string"><span class="delimiter">'</span><span class="content">1.4.5</span><span class="delimiter">'</span></span>
gems <span class="key">group</span>: <span class="string"><span class="delimiter">'</span><span class="content">rubygems</span><span class="delimiter">'</span></span>, <span class="key">name</span>: <span class="string"><span class="delimiter">'</span><span class="content">rake</span><span class="delimiter">'</span></span>, <span class="key">version</span>: <span class="string"><span class="delimiter">'</span><span class="content">10.3.+</span><span class="delimiter">'</span></span>
<span class="comment">/* alternatively */</span>
gems <span class="string"><span class="delimiter">'</span><span class="content">rubygems:rake:10.3.+</span><span class="delimiter">'</span></span>
}</code></pre>
</div>
</div>
@ -147,7 +148,7 @@ dependencies {
jrubyExec <span class="string"><span class="delimiter">'</span><span class="content">rubygems:credit_card_validator:1.2.0</span><span class="delimiter">'</span></span>
}
task runMyScript( <span class="key">type</span>: JRubyExec ) {
task runMyScript(<span class="key">type</span>: JRubyExec) {
script <span class="string"><span class="delimiter">'</span><span class="content">scripts/runme.rb</span><span class="delimiter">'</span></span>
scriptArgs <span class="string"><span class="delimiter">'</span><span class="content">-x</span><span class="delimiter">'</span></span>, <span class="string"><span class="delimiter">'</span><span class="content">-y</span><span class="delimiter">'</span></span>
}</code></pre>
@ -198,8 +199,10 @@ uses it&#8217;s own work directory. Use this to set a common work directory for
</ul>
</div>
<div class="paragraph">
<p>(*) If <code>jRubyVersion</code> has not been set, <code>jrubyExec</code> will used as
configuration. However, if <code>jRubyVersion</code> has been set, no gems will be used unless an explicit configuration has been provided</p>
<p>(*) If <code>jrubyVersion</code> has not been set, <code>jrubyExec</code> will used as configuration.
However, if <code>jrubyVersion</code> has been set, a configuration must also be provded
to maintain dependency isolation, see
<a href="http://jruby-gradle.org/errors/jrubyexec-version-conflict/">this page</a> for more details.</p>
</div>
<div class="paragraph">
<p>Additional <code>JRubyExec</code> methods for controlling the JVM instance</p>
@ -244,7 +247,11 @@ configuration. However, if <code>jRubyVersion</code> has been set, no gems will
<div class="sect3">
<h4 id="jrubyexec-extension"><a class="anchor" href="#jrubyexec-extension"></a>jrubyexec extension</h4>
<div class="paragraph">
<p>Similar to <code>javaexec</code> and <code>exec</code> it is possible to add the execution of a jruby script within another task</p>
<p>Similar to
<a href="https://docs.gradle.org/current/dsl/org.gradle.api.Project.html#org.gradle.api.Project:javaexec(groovy.lang.Closure)">javaexec</a>
and
<a href="https://docs.gradle.org/current/dsl/org.gradle.api.Project.html#org.gradle.api.Project:exec(org.gradle.api.Action)">exec</a>
it is possible to add the execution of a JRuby script to another task:</p>
</div>
<div class="listingblock">
<div class="title">build.gradle</div>
@ -294,8 +301,7 @@ All other methods should work.</p>
<div class="listingblock">
<div class="title">build.gradle</div>
<div class="content">
<pre class="CodeRay highlight nowrap"><code data-lang="gradle">task rake( type : JRubyExec ) {
jrubyArgs '-S'
<pre class="CodeRay highlight nowrap"><code data-lang="gradle">task rake(type : JRubyExec) {
script 'rake'
scriptArgs '/path/to/Rakefile', 'target1', 'target2'
}</code></pre>
@ -335,7 +341,7 @@ All other methods should work.</p>
<div class="content">
<pre class="CodeRay highlight nowrap"><code data-lang="gradle">import com.github.jrubygradle.JRubyPrepare
task unpackMyGems( type : JRubyPrepare ) {
task unpackMyGems(type : JRubyPrepare) {
// Parent directory for unpacking GEMs.
// Gems will end up in a subdirectory 'gems/GemName-GemVersion'

View File

@ -1,7 +1,7 @@
<html>
<head>
<link href='stylesheets/foundation.css' rel='stylesheet'>
<link href='stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/stylesheets/foundation.css' rel='stylesheet'>
<link href='/stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/news.atom' rel='alternate' title='JRuby/Gradle News' type='application/atom+xml'>
<title>
JRuby/Gradle Community
@ -14,27 +14,27 @@ JRuby/Gradle Community
<div id='main_nav'>
<ul>
<li>
<a href='index.html'>
<a href='/'>
Home
</a>
</li>
<li>
<a href='docs.html'>
<a href='/docs/'>
Documentation
</a>
</li>
<li>
<a href='community.html'>
<a href='/community/'>
Community
</a>
</li>
<li>
<a href='news.html'>
<a href='/news/'>
News
</a>
</li>
<li>
<a href='download.html'>
<a href='/download/'>
Download
</a>
</li>

View File

@ -1,7 +1,7 @@
<html>
<head>
<link href='stylesheets/foundation.css' rel='stylesheet'>
<link href='stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/stylesheets/foundation.css' rel='stylesheet'>
<link href='/stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/news.atom' rel='alternate' title='JRuby/Gradle News' type='application/atom+xml'>
<title>
JRuby/Gradle API Documentation
@ -14,27 +14,27 @@ JRuby/Gradle API Documentation
<div id='main_nav'>
<ul>
<li>
<a href='index.html'>
<a href='/'>
Home
</a>
</li>
<li>
<a href='docs.html'>
<a href='/docs/'>
Documentation
</a>
</li>
<li>
<a href='community.html'>
<a href='/community/'>
Community
</a>
</li>
<li>
<a href='news.html'>
<a href='/news/'>
News
</a>
</li>
<li>
<a href='download.html'>
<a href='/download/'>
Download
</a>
</li>
@ -55,16 +55,16 @@ JRuby/Gradle API Documentation
<div class="ulist">
<ul>
<li>
<p><a href="base.html">Base</a></p>
<p><a href="/base/">Base</a></p>
</li>
<li>
<p><a href="jar.html">Jar</a></p>
<p><a href="/jar/">Jar</a></p>
</li>
<li>
<p><a href="war.html">War</a></p>
<p><a href="/war/">War</a></p>
</li>
<li>
<p><a href="storm.html">Storm</a></p>
<p><a href="/storm/">Storm</a></p>
</li>
</ul>
</div>
@ -76,13 +76,13 @@ JRuby/Gradle API Documentation
<div class="ulist">
<ul>
<li>
<p><a href="groovydoc/jruby-gradle-base-plugin/index.html">jruby-gradle-base-plugin</a></p>
<p><a href="/groovydoc/jruby-gradle-base-plugin/">jruby-gradle-base-plugin</a></p>
</li>
<li>
<p><a href="groovydoc/jruby-gradle-jar-plugin/index.html">jruby-gradle-jar-plugin</a></p>
<p><a href="/groovydoc/jruby-gradle-jar-plugin/">jruby-gradle-jar-plugin</a></p>
</li>
<li>
<p><a href="groovydoc/jruby-gradle-war-plugin/index.html">jruby-gradle-war-plugin</a></p>
<p><a href="/groovydoc/jruby-gradle-war-plugin/">jruby-gradle-war-plugin</a></p>
</li>
</ul>
</div>

View File

@ -1,7 +1,7 @@
<html>
<head>
<link href='stylesheets/foundation.css' rel='stylesheet'>
<link href='stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/stylesheets/foundation.css' rel='stylesheet'>
<link href='/stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/news.atom' rel='alternate' title='JRuby/Gradle News' type='application/atom+xml'>
<title>
Download JRuby/Gradle
@ -14,27 +14,27 @@ Download JRuby/Gradle
<div id='main_nav'>
<ul>
<li>
<a href='index.html'>
<a href='/'>
Home
</a>
</li>
<li>
<a href='docs.html'>
<a href='/docs/'>
Documentation
</a>
</li>
<li>
<a href='community.html'>
<a href='/community/'>
Community
</a>
</li>
<li>
<a href='news.html'>
<a href='/news/'>
News
</a>
</li>
<li>
<a href='download.html'>
<a href='/download/'>
Download
</a>
</li>

View File

@ -0,0 +1,122 @@
<html>
<head>
<link href='/stylesheets/foundation.css' rel='stylesheet'>
<link href='/stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/news.atom' rel='alternate' title='JRuby/Gradle News' type='application/atom+xml'>
<title>
JRubyExec conflict on jrubyVersion
</title>
</head>
<body>
<a href='https://github.com/jruby-gradle'>
<img alt='Fork me on GitHub' data-canonical-src='https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png' src='https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67' style='position: absolute; top: 0; right: 0; border: 0;'>
</a>
<div id='main_nav'>
<ul>
<li>
<a href='/'>
Home
</a>
</li>
<li>
<a href='/docs/'>
Documentation
</a>
</li>
<li>
<a href='/community/'>
Community
</a>
</li>
<li>
<a href='/news/'>
News
</a>
</li>
<li>
<a href='/download/'>
Download
</a>
</li>
<li>
<a href='https://travis-ci.org/jruby-gradle/jruby-gradle-plugin'>
<img src='https://travis-ci.org/jruby-gradle/jruby-gradle-plugin.svg?branch=master'>
</a>
</li>
</ul>
</div>
<div id='content'>
<h1>
JRubyExec conflict on jrubyVersion
</h1>
<div class="sect1">
<h2 id="what-s-going-on"><a class="anchor" href="#what-s-going-on"></a>What&#8217;s going on?</h2>
<div class="sectionbody">
<div class="paragraph">
<p>The
<a href="/groovydoc/jruby-gradle-base-plugin/com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
task allows the user to define a specific version of
<a href="http://jruby.org">JRuby</a> via the <code>jrubyVersion</code> property. This requires the
requested version of JRuby to be added to a dependency graph. In order to
prevent unintentional conflicts in the dependency graph, the <a href="/base/">base</a>
plugin will prevent a <code>JRubyExec</code> task from adding a different JRuby version to
the <em>default</em> <code>jrubyExec</code>
<a href="https://docs.gradle.org/current/dsl/org.gradle.api.artifacts.Configuration.html">configuration</a>.</p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="how-to-fix-it"><a class="anchor" href="#how-to-fix-it"></a>How to fix it</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Fixing this behavior is relatively easy, the <code>JRubyExec</code> task which requires
its own custom version of JRuby to be installed should <em>also</em> use a custom,
user-defined, <a href="https://docs.gradle.org/current/dsl/org.gradle.api.artifacts.Configuration.html">configuration</a>. E.g.</p>
</div>
<div class="listingblock">
<div class="title">build.gradle</div>
<div class="content">
<pre class="CodeRay highlight nowrap"><code data-lang="gradle">configurations {
backwardsCompat
}
dependencies {
backwardsCompat 'rubygems:sinatra:1.0.0'
}
task checkBackwardsCompatibility(type: JRubyExec) {
configuration backwardsCompat
script 'smoke-test.rb'
jrubyVersion '1.7.19'
}</code></pre>
</div>
</div>
<div class="sect2">
<h3 id="okay-that-didn-t-work"><a class="anchor" href="#okay-that-didn-t-work"></a>Okay, that didn&#8217;t work</h3>
<div class="paragraph">
<p>If that work-around didn&#8217;t help fix the issue, then you may have encountered an
unknown <strong>bug!</strong>. Please
<a href="https://github.com/jruby-gradle/jruby-gradle-plugin/issues">file an issue</a>
so we can correct the broken behavior!</p>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="links"><a class="anchor" href="#links"></a>Links</h2>
<div class="sectionbody">
<div class="ulist">
<ul>
<li>
<p><a href="https://github.com/jruby-gradle/jruby-gradle-plugin/issues/157">issue #157</a>
captures the first reported side-effect of the previous behavior which
led to the restriction behind defined in the <a href="/base/">base</a> plugin</p>
</li>
</ul>
</div>
</div>
</div>
</div>
<hr>
</body>
</html>

View File

@ -24,8 +24,6 @@
<li><a href="com/github/jrubygradle/JRubyPlugin.html" title="class in com.github.jrubygradle" target="classFrame">JRubyPlugin</a></li>
<li><a href="com/github/jrubygradle/JRubyPluginExtension.html" title="class in com.github.jrubygradle" target="classFrame">JRubyPluginExtension</a></li>
<li><a href="com/github/jrubygradle/JRubyPrepare.html" title="class in com.github.jrubygradle" target="classFrame">JRubyPrepare</a></li>
<li><a href="com/github/jrubygradle/JRubyPrepareGems.html" title="class in com.github.jrubygradle" target="classFrame">JRubyPrepareGems</a></li>
<li><a href="com/github/jrubygradle/JRubyPrepareJars.html" title="class in com.github.jrubygradle" target="classFrame">JRubyPrepareJars</a></li>
</ul>
</div>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>GemUtils.OverwriteAction (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:23 PDT 2015 -->
<title>GemUtils.OverwriteAction (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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="GemUtils.OverwriteAction (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="GemUtils.OverwriteAction (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>GemUtils (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:23 PDT 2015 -->
<title>GemUtils (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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="GemUtils (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="GemUtils (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>
@ -281,7 +281,7 @@ if (location.href.indexOf('is-external=true') == -1) {
<li>fullGem (boolean) - Copy all of the GEM content, not just a minimal subset</li>
<li>subfolder (Object) - Adds an additional subfolder into the GEM
</ul>
<DL><DT><B>Parameters:</B></DT><DD><code>Additional</code> - properties to control behaviour</DD><DD><code>dir</code> - The source of the GEM files</DD></DL><DL><DT><B>Returns:</B></DT><DD>Returns a CopySpec which can be attached as a child to another object that implements a CopySpec</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.2</DD></DL></p>
<DL><DT><B>Returns:</B></DT><DD>Returns a CopySpec which can be attached as a child to another object that implements a CopySpec</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>Additional</code> - properties to control behaviour</DD><DD><code>dir</code> - The source of the GEM files</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.2</DD></DL></p>
</li>
</ul>
@ -300,7 +300,7 @@ if (location.href.indexOf('is-external=true') == -1) {
<li class="blockList">
<h4>static&nbsp;<a href='../../../FileCollection.html'>FileCollection</a> <strong>getGems</strong>(<a href='../../../FileCollection.html'>FileCollection</a> fc)</h4>
<p> Given a FileCollection return a filtered FileCollection only containing GEMs
<DL><DT><B>Parameters:</B></DT><DD><code>fc</code> - Original FileCollection</DD></DL><DL><DT><B>Returns:</B></DT><DD>Filtered FileCollection</DD></DL></p>
<DL><DT><B>Returns:</B></DT><DD>Filtered FileCollection</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>fc</code> - Original FileCollection</DD></DL></p>
</li>
</ul>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>GenerateGradleRb (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:23 PDT 2015 -->
<title>GenerateGradleRb (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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="GenerateGradleRb (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="GenerateGradleRb (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>JRubyExec (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:23 PDT 2015 -->
<title>JRubyExec (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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="JRubyExec (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="JRubyExec (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>
@ -50,11 +50,11 @@ if (location.href.indexOf('is-external=true') == -1) {
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;<li><a href="#property_summary">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
</ul>
<ul class="subNavList">
<li>&nbsp;|&nbsp;Detail:&nbsp;</li>
Field&nbsp;&nbsp;&nbsp;<li><a href="#prop_detail">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
</ul>
</div>
<a name="skip-navbar_top">
@ -111,43 +111,6 @@ extends <a href='../../../org.gradle.api.tasks.JavaExec.html'>JavaExec</a>
<!-- =========== PROPERTY SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="property_summary"><!-- --></a>
<h3>Properties Summary</h3>
<ul class="blockList">
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Properties Summary table, listing nested classes, and an explanation">
<caption><span>Properties</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Type</th>
<th class="colLast" scope="col">Name and description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><strong>static&nbsp;java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#JAR_DEPENDENCIES_VERSION"></a>JAR_DEPENDENCIES_VERSION</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><strong>static&nbsp;java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#JRUBYEXEC_CONFIG"></a>JRUBYEXEC_CONFIG</code><br></td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><strong>java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#configuration"></a>configuration</code><br>Configuration to copy gems from. </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><strong>java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#jrubyVersion"></a>jrubyVersion</code><br>If it is required that a JRubyExec task needs to be executed with a different version of JRuby that the
globally configured one, it can be done by setting it here.</td>
</tr>
</table>
</ul>
</li>
</ul>
<!-- =========== ELEMENT SUMMARY =========== -->
@ -201,35 +164,15 @@ extends <a href='../../../org.gradle.api.tasks.JavaExec.html'>JavaExec</a>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#configuration(java.lang.String)">configuration</a></strong>(java.lang.String cfg)</code><br>Sets the configurations</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#exec()">exec</a></strong>()</code><br></td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</strong></code></td>
<td class="colLast"><code><strong><a href="#getArgs()">getArgs</a></strong>()</code><br>getArgs gets overridden in order to add JRuby options, script name and script arguments in the correct order.</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</strong></code></td>
<td class="colLast"><code><strong><a href="#getComputedPATH(java.lang.String)">getComputedPATH</a></strong>(java.lang.String originalPath)</code><br>Return the computed `PATH` for the task</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.io.File</strong></code></td>
<td class="colLast"><code><strong><a href="#getGemWorkDir()">getGemWorkDir</a></strong>()</code><br>Returns the directory that will be used to unpack GEMs in.</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</strong></code></td>
<td class="colLast"><code><strong><a href="#getInheritRubyEnv()">getInheritRubyEnv</a></strong>()</code><br>Allow JRubyExec to inherit a Ruby env from the shell (e.g. </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</strong></code></td>
<td class="colLast"><code><strong><a href="#getJrubyArgs()">getJrubyArgs</a></strong>()</code><br>Returns a list of jruby arguments</td>
@ -237,54 +180,56 @@ extends <a href='../../../org.gradle.api.tasks.JavaExec.html'>JavaExec</a>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</strong></code></td>
<td class="colLast"><code><strong><a href="#getJrubyConfigurationName()">getJrubyConfigurationName</a></strong>()</code><br>Returns the <CODE>Configuration</CODE> object this task is tied to</td>
<td class="colLast"><code><strong><a href="#getJrubyVersion()">getJrubyVersion</a></strong>()</code><br>If it is required that a JRubyExec task needs to be executed with a different version of JRuby that the
globally configured one, it can be done by setting it here.</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Map</strong></code></td>
<td class="colLast"><code><strong><a href="#getPreparedEnvironment(java.util.Map)">getPreparedEnvironment</a></strong>(java.util.Map env)</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.io.File</strong></code></td>
<td class="colLast"><code><strong><a href="#getScript()">getScript</a></strong>()</code><br>Script to execute.</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.Object&gt;</strong></code></td>
<td class="colLast"><code><strong><a href="#getScriptArgs()">getScriptArgs</a></strong>()</code><br>Returns a list of script arguments</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colFirst"><code>static&nbsp;java.lang.String</strong></code></td>
<td class="colLast"><code><strong><a href="#jarDependenciesGemLibPath(java.io.File)">jarDependenciesGemLibPath</a></strong>(java.io.File gemDir)</code><br></td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#jrubyVersion(java.lang.String)">jrubyVersion</a></strong>(java.lang.String ver)</code><br>Setting the <CODE>jruby-complete</CODE> version allows for tasks to be run using different versions of JRuby.
</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colFirst"><code><a href='../../../JavaExec.html'>JavaExec</a></strong></code></td>
<td class="colLast"><code><strong><a href="#setArgs(Iterable<?>)">setArgs</a></strong>(java.lang.Iterable&lt;?&gt; applicationArgs)</code><br></td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#setJrubyVersion(java.lang.String)">setJrubyVersion</a></strong>(java.lang.String version)</code><br>Setting the <CODE>jruby-complete</CODE> version allows for tasks to be run using different versions of JRuby.
</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colFirst"><code><a href='../../../JavaExec.html'>JavaExec</a></strong></code></td>
<td class="colLast"><code><strong><a href="#setMain(java.lang.String)">setMain</a></strong>(java.lang.String mainClassName)</code><br></td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colFirst"><code>static&nbsp;void</strong></code></td>
<td class="colLast"><code><strong><a href="#updateJRubyDependencies(Project)">updateJRubyDependencies</a></strong>(<a href='../../../Project.html'>Project</a> proj)</code><br></td>
<td class="colLast"><code><strong><a href="#updateJRubyDependencies(Project)">updateJRubyDependencies</a></strong>(<a href='../../../Project.html'>Project</a> project)</code><br>Ensure that our JRuby depedencies are updated properly for the default jrubyExec configuration
and all other JRubyExec tasks</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#validateTaskConfiguration()">validateTaskConfiguration</a></strong>()</code><br>Verify that we are in a good configuration for execution</td>
</tr>
</table>
@ -305,57 +250,6 @@ extends <a href='../../../org.gradle.api.tasks.JavaExec.html'>JavaExec</a>
<!-- =========== PROPERTY DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="prop_detail">
<!-- -->
</a>
<h3>Property Detail</h3>
<a name="JAR_DEPENDENCIES_VERSION"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>static&nbsp;final&nbsp;java.lang.String <strong>JAR_DEPENDENCIES_VERSION</strong></h4>
<p></p>
</li>
</ul>
<a name="JRUBYEXEC_CONFIG"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>static&nbsp;final&nbsp;java.lang.String <strong>JRUBYEXEC_CONFIG</strong></h4>
<p></p>
</li>
</ul>
<a name="configuration"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Optional
@Input
java.lang.String <strong>configuration</strong></h4>
<p> Configuration to copy gems from. If <CODE>jRubyVersion</CODE> has not been set, <CODE>jRubyExec</CODE> will used as
configuration. However, if <CODE>jRubyVersion</CODE> has been set, not gems will be used unless an explicit
configuration has been provided
</p>
</li>
</ul>
<a name="jrubyVersion"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Input
java.lang.String <strong>jrubyVersion</strong></h4>
<p> If it is required that a JRubyExec task needs to be executed with a different version of JRuby that the
globally configured one, it can be done by setting it here.
</p>
</li>
</ul>
</li>
</ul>
@ -406,15 +300,6 @@ java.lang.String <strong>jrubyVersion</strong></h4>
</li>
</ul>
<a name="configuration(java.lang.String)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>void <strong>configuration</strong>(java.lang.String cfg)</h4>
<p> Sets the configurations
<DL><DT><B>Parameters:</B></DT><DD><code>cfg</code> - Name of configuration</DD></DL></p>
</li>
</ul>
<a name="exec()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
@ -443,41 +328,10 @@ java.util.List&lt;java.lang.String&gt; <strong>getArgs</strong>()</h4>
</li>
</ul>
<a name="getComputedPATH(java.lang.String)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>java.lang.String <strong>getComputedPATH</strong>(java.lang.String originalPath)</h4>
<p> Return the computed `PATH` for the task
</p>
</li>
</ul>
<a name="getGemWorkDir()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Optional
@Input
java.io.File <strong>getGemWorkDir</strong>()</h4>
<p> Returns the directory that will be used to unpack GEMs in.
<DL><DT><B>Returns:</B></DT><DD>Target directory</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.9</DD></DL></p>
</li>
</ul>
<a name="getInheritRubyEnv()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Input
boolean <strong>getInheritRubyEnv</strong>()</h4>
<p> Allow JRubyExec to inherit a Ruby env from the shell (e.g. RVM)
<DL><DT><B>Since:</B></DT><DD>0.1.10</DD></DL></p>
</li>
</ul>
<a name="getJrubyArgs()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Optional
<h4>@java.util.Optional
@Input
java.util.List&lt;java.lang.String&gt; <strong>getJrubyArgs</strong>()</h4>
<p> Returns a list of jruby arguments
@ -485,27 +339,21 @@ java.util.List&lt;java.lang.String&gt; <strong>getJrubyArgs</strong>()</h4>
</li>
</ul>
<a name="getJrubyConfigurationName()"><!-- --></a>
<a name="getJrubyVersion()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>java.lang.String <strong>getJrubyConfigurationName</strong>()</h4>
<p> Returns the <CODE>Configuration</CODE> object this task is tied to
<h4>@Input
java.lang.String <strong>getJrubyVersion</strong>()</h4>
<p> If it is required that a JRubyExec task needs to be executed with a different version of JRuby that the
globally configured one, it can be done by setting it here.
</p>
</li>
</ul>
<a name="getPreparedEnvironment(java.util.Map)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>java.util.Map <strong>getPreparedEnvironment</strong>(java.util.Map env)</h4>
<p></p>
</li>
</ul>
<a name="getScript()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Optional
<h4>@java.util.Optional
@Input
java.io.File <strong>getScript</strong>()</h4>
<p> Script to execute.
@ -516,7 +364,7 @@ java.io.File <strong>getScript</strong>()</h4>
<a name="getScriptArgs()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Optional
<h4>@java.util.Optional
@Input
java.util.List&lt;java.lang.Object&gt; <strong>getScriptArgs</strong>()</h4>
<p> Returns a list of script arguments
@ -577,8 +425,21 @@ java.util.List&lt;java.lang.Object&gt; <strong>getScriptArgs</strong>()</h4>
<a name="updateJRubyDependencies(Project)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>static&nbsp;void <strong>updateJRubyDependencies</strong>(<a href='../../../Project.html'>Project</a> proj)</h4>
<p></p>
<h4>static&nbsp;void <strong>updateJRubyDependencies</strong>(<a href='../../../Project.html'>Project</a> project)</h4>
<p> Ensure that our JRuby depedencies are updated properly for the default jrubyExec configuration
and all other JRubyExec tasks
This function also ensures that we have a proper version of jar-dependencies
on older versions of JRuby so jar requires work properly on those version
<DL><DT><B>Parameters:</B></DT><DD>project</DD></DL><DL><DT><B>Since:</B></DT><DD>1.0.0</DD></DL></p>
</li>
</ul>
<a name="validateTaskConfiguration()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>void <strong>validateTaskConfiguration</strong>()</h4>
<p> Verify that we are in a good configuration for execution </p>
</li>
</ul>
@ -616,11 +477,11 @@ java.util.List&lt;java.lang.Object&gt; <strong>getScriptArgs</strong>()</h4>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;<li><a href="#property_summary">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
</ul>
<ul class="subNavList">
<li>&nbsp;|&nbsp;Detail:&nbsp;</li>
Field&nbsp;&nbsp;&nbsp;<li><a href="#prop_detail">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
</ul>
</div>
<p>Groovy Documentation</p>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>JRubyPlugin (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:24 PDT 2015 -->
<title>JRubyPlugin (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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="JRubyPlugin (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="JRubyPlugin (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>
@ -90,6 +90,9 @@ if (location.href.indexOf('is-external=true') == -1) {
<p>
</p>
</li>
</ul>
</div>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>JRubyPluginExtension (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:24 PDT 2015 -->
<title>JRubyPluginExtension (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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="JRubyPluginExtension (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="JRubyPluginExtension (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>
@ -335,7 +335,7 @@ boolean <strong>defaultRepositories</strong></h4>
<h4>java.lang.Object <strong>setGemInstallDir</strong>(java.lang.Object dir)</h4>
<p> Sets the gem installation directory. Anything that can be passed to <CODE>project.file</CODE> can be
passed here as well.
<DL><DT><B>Parameters:</B></DT><DD><code>dir</code> - Directory (String, GString, File, Closure etc.)</DD></DL><DL><DT><B>Returns:</B></DT><DD>The passed object.</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.12</DD></DL></p>
<DL><DT><B>Returns:</B></DT><DD>The passed object.</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>dir</code> - Directory (String, GString, File, Closure etc.)</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.12</DD></DL></p>
</li>
</ul>
@ -345,7 +345,7 @@ boolean <strong>defaultRepositories</strong></h4>
<h4>java.lang.Object <strong>setJarInstallDir</strong>(java.lang.Object dir)</h4>
<p> Sets the jar installation directory. Anything that can be passed to <CODE>project.file</CODE> can be
passed here as well.
<DL><DT><B>Parameters:</B></DT><DD><code>dir</code> - Directory (String, GString, File, Closure etc.)</DD></DL><DL><DT><B>Returns:</B></DT><DD>The passed object.</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.16</DD></DL></p>
<DL><DT><B>Returns:</B></DT><DD>The passed object.</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>dir</code> - Directory (String, GString, File, Closure etc.)</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.16</DD></DL></p>
</li>
</ul>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>JRubyPrepare (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:24 PDT 2015 -->
<title>JRubyPrepare (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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="JRubyPrepare (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="JRubyPrepare (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>
@ -111,6 +111,11 @@ if (location.href.indexOf('is-external=true') == -1) {
</tr>
<tr class="altColor">
<td class="colFirst"><code><strong>java.util.List&lt;java.lang.Object&gt;</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#dependencies"></a>dependencies</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><strong>java.io.File</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#outputDir"></a>outputDir</code><br>Target directory for GEMs. </td>
</tr>
@ -142,20 +147,15 @@ if (location.href.indexOf('is-external=true') == -1) {
<tr class="altColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#copy()">copy</a></strong>()</code><br></td>
<td class="colLast"><code><strong><a href="#copy()">copy</a></strong>()</code><br>Adds dependencies from the given configuration to be prepared</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#gems(java.lang.Object)">gems</a></strong>(java.lang.Object f)</code><br>Adds gems to be prepared</td>
<td class="colLast"><code><strong><a href="#dependencies(java.lang.Object)">dependencies</a></strong>(java.lang.Object f)</code><br></td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href='../../../FileCollection.html'>FileCollection</a></strong></code></td>
<td class="colLast"><code><strong><a href="#getGems()">getGems</a></strong>()</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#outputDir(java.lang.Object)">outputDir</a></strong>(java.lang.Object f)</code><br>Sets the output directory</td>
</tr>
@ -185,6 +185,14 @@ if (location.href.indexOf('is-external=true') == -1) {
</a>
<h3>Property Detail</h3>
<a name="dependencies"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>java.util.List&lt;java.lang.Object&gt; <strong>dependencies</strong></h4>
<p></p>
</li>
</ul>
<a name="outputDir"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
@ -217,24 +225,20 @@ java.io.File <strong>outputDir</strong></h4>
<li class="blockList">
<h4>@TaskAction
void <strong>copy</strong>()</h4>
<p></p>
</li>
</ul>
<a name="gems(java.lang.Object)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>void <strong>gems</strong>(java.lang.Object f)</h4>
<p> Adds gems to be prepared
<p> Adds dependencies from the given configuration to be prepared
<DL><DT><B>Parameters:</B></DT><DD><code>f</code> - A file, directory, configuration or list of gems</DD></DL></p>
</li>
</ul>
<a name="getGems()"><!-- --></a>
<a name="dependencies(java.lang.Object)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@InputFiles
<a href='../../../FileCollection.html'>FileCollection</a> <strong>getGems</strong>()</h4>
<h4>@java.util.Optional
/** Adds dependencies from the given configuration to be prepared
*
* @param f A file, directory, configuration or list of gems
*/
void <strong>dependencies</strong>(java.lang.Object f)</h4>
<p></p>
</li>
</ul>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>JRubyPrepareGems (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Thu Jul 30 13:36:34 PDT 2015 -->
<title>JRubyPrepareGems (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-30">
<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="JRubyPrepareGems (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="JRubyPrepareGems (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>JRubyPrepareJars (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Thu Jul 30 13:36:34 PDT 2015 -->
<title>JRubyPrepareJars (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-30">
<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="JRubyPrepareJars (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="JRubyPrepareJars (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>GemVersion (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:23 PDT 2015 -->
<title>GemVersion (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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="GemVersion (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="GemVersion (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>
@ -271,7 +271,7 @@ if (location.href.indexOf('is-external=true') == -1) {
this method just calculates the intersection of this version range
with the given other version range. it also honors whether the boundary
itself is included or excluded by the respective ranges.
<DL><DT><B>Parameters:</B></DT><DD><code>String</code> - the other version range to be intersected with this version range</DD></DL><DL><DT><B>Returns:</B></DT><DD>GemVersion the intersected version range</DD></DL></p>
<DL><DT><B>Returns:</B></DT><DD>GemVersion the intersected version range</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>String</code> - the other version range to be intersected with this version range</DD></DL></p>
</li>
</ul>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>GemVersionResolver (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:23 PDT 2015 -->
<title>GemVersionResolver (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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="GemVersionResolver (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="GemVersionResolver (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>JRubyExecDelegate (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:23 PDT 2015 -->
<title>JRubyExecDelegate (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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="JRubyExecDelegate (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="JRubyExecDelegate (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>
@ -131,6 +131,11 @@ if (location.href.indexOf('is-external=true') == -1) {
<td class="colLast"><code><a href="#jrubyexecDelegatingClosure"></a>jrubyexecDelegatingClosure</code><br></td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><strong><a href='../../../../Project.html'>Project</a></strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#project"></a>project</code><br></td>
</tr>
</table>
</ul>
</li>
@ -167,27 +172,21 @@ if (location.href.indexOf('is-external=true') == -1) {
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.io.File</strong></code></td>
<td class="colLast"><code><strong><a href="#getGemWorkDir()">getGemWorkDir</a></strong>()</code><br>Directory to use for unpacking GEMs.
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.io.File</strong></code></td>
<td class="colLast"><code><strong><a href="#getScript()">getScript</a></strong>()</code><br>Gets the script to use.</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Object</strong></code></td>
<td class="colLast"><code><strong><a href="#keyAt(java.lang.Integer)">keyAt</a></strong>(java.lang.Integer index)</code><br></td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colFirst"><code>java.lang.Object</strong></code></td>
<td class="colLast"><code><strong><a href="#methodMissing(java.lang.String, def)">methodMissing</a></strong>(java.lang.String name, java.lang.Object args)</code><br></td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Object</strong></code></td>
<td class="colLast"><code><strong><a href="#valuesAt(java.lang.Integer)">valuesAt</a></strong>(java.lang.Integer index)</code><br></td>
</tr>
@ -251,6 +250,14 @@ if (location.href.indexOf('is-external=true') == -1) {
</li>
</ul>
<a name="project"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4><a href='../../../../Project.html'>Project</a> <strong>project</strong></h4>
<p></p>
</li>
</ul>
</li>
</ul>
@ -285,19 +292,6 @@ if (location.href.indexOf('is-external=true') == -1) {
</li>
</ul>
<a name="getGemWorkDir()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>java.io.File <strong>getGemWorkDir</strong>()</h4>
<p> Directory to use for unpacking GEMs.
This is optional. If not set, then an internal generated folder will be used. In general the latter behaviour
is preferred as it allows for isolating different <CODE>JRubyExec</CODE> tasks. However, this functionality is made
available for script authors for would like to control this behaviour and potentially share GEMs between
various <CODE>JRubyExec</CODE> tasks.
<DL><DT><B>Since:</B></DT><DD>0.1.9</DD></DL></p>
</li>
</ul>
<a name="getScript()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>JRubyExecTraits (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:24 PDT 2015 -->
<title>JRubyExecTraits (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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="JRubyExecTraits (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="JRubyExecTraits (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>
@ -81,6 +81,18 @@ if (location.href.indexOf('is-external=true') == -1) {
<p> Provides common traits for JRuby script execution across the <CODE>JRubyExec</CODE>
task and {@project.jrubyexec} extension.
This trait is primarily meant as a plugin-internal interface/implementation which allows
for the asy set up and invocation of a JRuby environment unlike <CODE>JRubyExec</CODE>
it is not meant to directly set up or execute a Ruby script.
It's functions are primarily:
* Prepare Ruby gem dependencies
* Prepare JVm (jar) dependencies
* Set up the execution environment
After that, it is up to the actual subclass extending JRubyExecAbstractTask to
decide how it wants to execute JRuby
<DL><DT><B>Authors:</B></DT><DD>Schalk W. Cronjé</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.18</DD></DL></p>
</li>
@ -112,6 +124,11 @@ if (location.href.indexOf('is-external=true') == -1) {
</tr>
<tr class="altColor">
<td class="colFirst"><code><strong>java.util.List&lt;java.lang.String&gt;</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#FILTER_ENV_KEYS"></a>FILTER_ENV_KEYS</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><strong>boolean</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#inheritRubyEnv"></a>inheritRubyEnv</code><br>Allow JRubyExec to inherit a Ruby env from the shell (e.g. </td>
</tr>
@ -163,32 +180,62 @@ if (location.href.indexOf('is-external=true') == -1) {
<tr class="altColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#gemWorkDir(java.lang.Object)">gemWorkDir</a></strong>(java.lang.Object wd)</code><br>Set alternative GEM unpack directory to use</td>
<td class="colLast"><code><strong><a href="#configuration(java.lang.String)">configuration</a></strong>(java.lang.String newConfiguration)</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#gemWorkDir(java.lang.Object)">gemWorkDir</a></strong>(java.lang.Object workingDir)</code><br>Set alternative GEM unpack directory to use</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</strong></code></td>
<td class="colLast"><code><strong><a href="#getComputedPATH(java.lang.String)">getComputedPATH</a></strong>(java.lang.String originalPath)</code><br>Return the computed `PATH` for the task</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</strong></code></td>
<td class="colLast"><code><strong><a href="#getConfiguration()">getConfiguration</a></strong>()</code><br></td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.io.File</strong></code></td>
<td class="colLast"><code><strong><a href="#getGemWorkDir()">getGemWorkDir</a></strong>()</code><br>Returns the directory that will be used to unpack Gems into</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Map</strong></code></td>
<td class="colLast"><code><strong><a href="#getPreparedEnvironment(java.util.Map)">getPreparedEnvironment</a></strong>(java.util.Map env)</code><br></td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#jrubyArgs(java.lang.Object)">jrubyArgs</a></strong>(java.lang.Object... args)</code><br>Add arguments for jruby</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#prepareDependencies(Project)">prepareDependencies</a></strong>(<a href='../../../../Project.html'>Project</a> project)</code><br>Prepare the Ruby and Java dependencies for the configured configuration</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#prepareDependencies(Project, com.github.jrubygradle.GemUtils.OverwriteAction)">prepareDependencies</a></strong>(<a href='../../../../Project.html'>Project</a> project, <a href='../../../../com/github/jrubygradle/GemUtils.OverwriteAction.html'>OverwriteAction</a> overwrite)</code><br>Prepare dependencies with a custom overwrite behavior</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#script(def)">script</a></strong>(java.lang.Object scr)</code><br>Set script to execute.</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#scriptArgs(java.lang.Object)">scriptArgs</a></strong>(java.lang.Object... args)</code><br>Add arguments for script</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#scriptArgs(groovy.lang.Closure)">scriptArgs</a></strong>(groovy.lang.Closure c)</code><br>Add arguments for script in a closure style</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#setGemWorkDir(java.lang.Object)">setGemWorkDir</a></strong>(java.lang.Object wd)</code><br>Set alternative GEM unpack directory to use</td>
<td class="colLast"><code><strong><a href="#scriptArgs(groovy.lang.Closure)">scriptArgs</a></strong>(groovy.lang.Closure c)</code><br>Add arguments for script in a closure style</td>
</tr>
<tr class="altColor">
@ -221,10 +268,20 @@ if (location.href.indexOf('is-external=true') == -1) {
</a>
<h3>Property Detail</h3>
<a name="FILTER_ENV_KEYS"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>final&nbsp;java.util.List&lt;java.lang.String&gt; <strong>FILTER_ENV_KEYS</strong></h4>
<p></p>
</li>
</ul>
<a name="inheritRubyEnv"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>boolean <strong>inheritRubyEnv</strong></h4>
<h4>@java.util.Optional
@Input
boolean <strong>inheritRubyEnv</strong></h4>
<p> Allow JRubyExec to inherit a Ruby env from the shell (e.g. RVM)
<DL><DT><B>Since:</B></DT><DD>0.1.10 (Moved from <CODE>JRubyExec</CODE>)</DD></DL></p>
</li>
@ -281,12 +338,58 @@ java.util.List&lt;java.lang.String&gt; <strong>_convertScriptArgs</strong>()</h4
</li>
</ul>
<a name="configuration(java.lang.String)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@groovy.transform.CompileDynamic
void <strong>configuration</strong>(java.lang.String newConfiguration)</h4>
<p></p>
</li>
</ul>
<a name="gemWorkDir(java.lang.Object)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>void <strong>gemWorkDir</strong>(java.lang.Object wd)</h4>
<h4>void <strong>gemWorkDir</strong>(java.lang.Object workingDir)</h4>
<p> Set alternative GEM unpack directory to use
<DL><DT><B>Parameters:</B></DT><DD><code>wd</code> - New working directory (convertible to file)</DD></DL></p>
<DL><DT><B>Parameters:</B></DT><DD><code>workingDir</code> - New working directory (convertible to file)</DD></DL></p>
</li>
</ul>
<a name="getComputedPATH(java.lang.String)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>java.lang.String <strong>getComputedPATH</strong>(java.lang.String originalPath)</h4>
<p> Return the computed `PATH` for the task </p>
</li>
</ul>
<a name="getConfiguration()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Input
java.lang.String <strong>getConfiguration</strong>()</h4>
<p></p>
</li>
</ul>
<a name="getGemWorkDir()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@java.util.Optional
@Input
@groovy.transform.CompileDynamic
java.io.File <strong>getGemWorkDir</strong>()</h4>
<p> Returns the directory that will be used to unpack Gems into
<DL><DT><B>Returns:</B></DT><DD>Target directory</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.9</DD></DL></p>
</li>
</ul>
<a name="getPreparedEnvironment(java.util.Map)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>java.util.Map <strong>getPreparedEnvironment</strong>(java.util.Map env)</h4>
<p></p>
</li>
</ul>
@ -299,6 +402,27 @@ java.util.List&lt;java.lang.String&gt; <strong>_convertScriptArgs</strong>()</h4
</li>
</ul>
<a name="prepareDependencies(Project)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>void <strong>prepareDependencies</strong>(<a href='../../../../Project.html'>Project</a> project)</h4>
<p> Prepare the Ruby and Java dependencies for the configured configuration
This method will determine the appropriate dependency overwrite behavior
from the Gradle invocation. In effect, if the --refresh-dependencies flag
is used, already installed gems will be overwritten.
<DL><DT><B>Parameters:</B></DT><DD><code>project</code> - The currently executing project</DD></DL></p>
</li>
</ul>
<a name="prepareDependencies(Project, com.github.jrubygradle.GemUtils.OverwriteAction)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>void <strong>prepareDependencies</strong>(<a href='../../../../Project.html'>Project</a> project, <a href='../../../../com/github/jrubygradle/GemUtils.OverwriteAction.html'>OverwriteAction</a> overwrite)</h4>
<p> Prepare dependencies with a custom overwrite behavior </p>
</li>
</ul>
<a name="script(def)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
@ -326,15 +450,6 @@ java.util.List&lt;java.lang.String&gt; <strong>_convertScriptArgs</strong>()</h4
</li>
</ul>
<a name="setGemWorkDir(java.lang.Object)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>void <strong>setGemWorkDir</strong>(java.lang.Object wd)</h4>
<p> Set alternative GEM unpack directory to use
<DL><DT><B>Parameters:</B></DT><DD><code>wd</code> - New working directory (convertible to file)</DD></DL></p>
</li>
</ul>
<a name="setScript(def)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:05 PDT 2015 -->
<title>JRubyExecUtils (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:24 PDT 2015 -->
<title>JRubyExecUtils (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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="JRubyExecUtils (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="JRubyExecUtils (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>
@ -111,8 +111,13 @@ if (location.href.indexOf('is-external=true') == -1) {
</tr>
<tr class="altColor">
<td class="colFirst"><code><strong>static&nbsp;java.util.List</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#FILTER_ENV_KEYS"></a>FILTER_ENV_KEYS</code><br></td>
<td class="colFirst"><code><strong>static&nbsp;java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#DEFAULT_JRUBYEXEC_CONFIG"></a>DEFAULT_JRUBYEXEC_CONFIG</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><strong>static&nbsp;java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#JAR_DEPENDENCIES_VERSION"></a>JAR_DEPENDENCIES_VERSION</code><br></td>
</tr>
</table>
@ -147,7 +152,7 @@ if (location.href.indexOf('is-external=true') == -1) {
<tr class="rowColor">
<td class="colFirst"><code>static&nbsp;java.util.List&lt;java.lang.String&gt;</strong></code></td>
<td class="colLast"><code><strong><a href="#buildArgs(List<Object>, List<Object>, java.io.File, List<Object>)">buildArgs</a></strong>(java.util.List&lt;java.lang.Object&gt; extra, java.util.List&lt;java.lang.Object&gt; jrubyArgs, java.io.File script, java.util.List&lt;java.lang.Object&gt; scriptArgs)</code><br></td>
<td class="colLast"><code><strong><a href="#buildArgs(List<Object>, List<Object>, java.io.File, List<Object>)">buildArgs</a></strong>(java.util.List&lt;java.lang.Object&gt; extra, java.util.List&lt;java.lang.Object&gt; jrubyArgs, java.io.File script, java.util.List&lt;java.lang.Object&gt; scriptArgs)</code><br>Construct the correct set of arguments based on the parameters to invoke jruby-complete.jar with</td>
</tr>
<tr class="altColor">
@ -186,8 +191,9 @@ if (location.href.indexOf('is-external=true') == -1) {
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static&nbsp;java.util.Map&lt;java.lang.String, java.lang.Object&gt;</strong></code></td>
<td class="colLast"><code><strong><a href="#preparedEnvironment(Map<String, Object>, boolean)">preparedEnvironment</a></strong>(java.util.Map&lt;java.lang.String, java.lang.Object&gt; env, boolean inheritRubyEnv)</code><br>Prepare a basic environment for usage with an external JRuby environment</td>
<td class="colFirst"><code>static&nbsp;void</strong></code></td>
<td class="colLast"><code><strong><a href="#updateJRubyDependenciesForConfiguration(Project, java.lang.String, java.lang.String)">updateJRubyDependenciesForConfiguration</a></strong>(<a href='../../../../Project.html'>Project</a> project, java.lang.String configuration, java.lang.String version)</code><br>Update the given configuration on the project with the appropriate versions
of JRuby and supplemental dependencies to execute JRuby successfully</td>
</tr>
</table>
@ -233,10 +239,18 @@ if (location.href.indexOf('is-external=true') == -1) {
</a>
<h3>Property Detail</h3>
<a name="FILTER_ENV_KEYS"><!-- --></a>
<a name="DEFAULT_JRUBYEXEC_CONFIG"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>static&nbsp;final&nbsp;java.util.List <strong>FILTER_ENV_KEYS</strong></h4>
<h4>static&nbsp;final&nbsp;java.lang.String <strong>DEFAULT_JRUBYEXEC_CONFIG</strong></h4>
<p></p>
</li>
</ul>
<a name="JAR_DEPENDENCIES_VERSION"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>static&nbsp;final&nbsp;java.lang.String <strong>JAR_DEPENDENCIES_VERSION</strong></h4>
<p></p>
</li>
</ul>
@ -270,7 +284,8 @@ if (location.href.indexOf('is-external=true') == -1) {
<ul class="blockListLast">
<li class="blockList">
<h4>static&nbsp;java.util.List&lt;java.lang.String&gt; <strong>buildArgs</strong>(java.util.List&lt;java.lang.Object&gt; extra, java.util.List&lt;java.lang.Object&gt; jrubyArgs, java.io.File script, java.util.List&lt;java.lang.Object&gt; scriptArgs)</h4>
<p></p>
<p> Construct the correct set of arguments based on the parameters to invoke jruby-complete.jar with
<DL><DT><B>Returns:</B></DT><DD>sequential list of arguments to pass jruby-complete.jar</DD></DL><DL><DT><B>Parameters:</B></DT><DD>extra</DD><DD>jrubyArgs</DD><DD>script</DD><DD>scriptArgs</DD></DL></p>
</li>
</ul>
@ -278,7 +293,7 @@ if (location.href.indexOf('is-external=true') == -1) {
<ul class="blockListLast">
<li class="blockList">
<h4>static&nbsp;java.lang.Object <strong>classpathFromConfiguration</strong>(<a href='../../../../Configuration.html'>Configuration</a> cfg)</h4>
<p> Extract a list of files from a configuration that is suitable for a jruby classpath <DL><DT><B>Parameters:</B></DT><DD><code>cfg</code> - Configuration to use</DD></DL><DL><DT><B>Returns:</B></DT><DD></DD></DL></p>
<p> Extract a list of files from a configuration that is suitable for a jruby classpath <DL><DT><B>Returns:</B></DT><DD></DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>cfg</code> - Configuration to use</DD></DL></p>
</li>
</ul>
@ -287,7 +302,7 @@ if (location.href.indexOf('is-external=true') == -1) {
<li class="blockList">
<h4>static&nbsp;java.io.File <strong>jrubyJar</strong>(<a href='../../../../Configuration.html'>Configuration</a> cfg)</h4>
<p> Extract the jruby-complete-XXX.jar classpath
<DL><DT><B>Parameters:</B></DT><DD><code>cfg</code> - Configuration</DD></DL><DL><DT><B>Returns:</B></DT><DD>Returns the classpath as a File or null if the jar was not found</DD></DL></p>
<DL><DT><B>Returns:</B></DT><DD>Returns the classpath as a File or null if the jar was not found</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>cfg</code> - Configuration</DD></DL></p>
</li>
</ul>
@ -296,7 +311,7 @@ if (location.href.indexOf('is-external=true') == -1) {
<li class="blockList">
<h4>static&nbsp;<a href='../../../../FileCollection.html'>FileCollection</a> <strong>jrubyJar</strong>(<a href='../../../../FileCollection.html'>FileCollection</a> fc)</h4>
<p> Extract the jruby-complete-XXX.jar as a FileCollection
<DL><DT><B>Parameters:</B></DT><DD><code>cfg</code> - FileCollection</DD></DL><DL><DT><B>Returns:</B></DT><DD>Returns the classpath as a File or null if the jar was not found</DD></DL></p>
<DL><DT><B>Returns:</B></DT><DD>Returns the classpath as a File or null if the jar was not found</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>cfg</code> - FileCollection</DD></DL></p>
</li>
</ul>
@ -306,7 +321,7 @@ if (location.href.indexOf('is-external=true') == -1) {
<h4>@groovy.transform.CompileDynamic
static&nbsp;java.lang.String <strong>jrubyJarVersion</strong>(java.io.File jar)</h4>
<p> Extracts the JRuby version number from a jruby-complete-XXX.jar filename
<DL><DT><B>Parameters:</B></DT><DD><code>jar</code> - JRuby Jar</DD></DL><DL><DT><B>Returns:</B></DT><DD>Version string or null</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.9</DD></DL></p>
<DL><DT><B>Returns:</B></DT><DD>Version string or null</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>jar</code> - JRuby Jar</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.9</DD></DL></p>
</li>
</ul>
@ -316,7 +331,7 @@ static&nbsp;java.lang.String <strong>jrubyJarVersion</strong>(java.io.File jar)<
<h4>@groovy.transform.CompileDynamic
static&nbsp;java.util.Map <strong>jrubyJarVersionTriple</strong>(java.io.File jar)</h4>
<p> Extracts the JRuby version number as a triplet from a jruby-complete-XXX.jar filename
<DL><DT><B>Parameters:</B></DT><DD><code>jar</code> - JRuby Jar</DD></DL><DL><DT><B>Returns:</B></DT><DD>Version string map [major,minor,patchlevel] or null</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.16</DD></DL></p>
<DL><DT><B>Returns:</B></DT><DD>Version string map [major,minor,patchlevel] or null</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>jar</code> - JRuby Jar</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.16</DD></DL></p>
</li>
</ul>
@ -334,16 +349,17 @@ static&nbsp;java.util.Map <strong>jrubyJarVersionTriple</strong>(java.io.File ja
<li class="blockList">
<h4>static&nbsp;java.lang.String <strong>prepareWorkingPath</strong>(java.io.File gemWorkDir, java.lang.String originalPath)</h4>
<p> Create a search path that includes the GEM working directory
<DL><DT><B>Parameters:</B></DT><DD><code>gemWorkDir</code> - GEM work dir instance</DD><DD><code>originalPath</code> - The original platform-specific search path</DD></DL><DL><DT><B>Returns:</B></DT><DD>A search suitable for the specific operating system the job will run on</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.11</DD></DL></p>
<DL><DT><B>Returns:</B></DT><DD>A search suitable for the specific operating system the job will run on</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>gemWorkDir</code> - GEM work dir instance</DD><DD><code>originalPath</code> - The original platform-specific search path</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.11</DD></DL></p>
</li>
</ul>
<a name="preparedEnvironment(Map<String, Object>, boolean)"><!-- --></a>
<a name="updateJRubyDependenciesForConfiguration(Project, java.lang.String, java.lang.String)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>static&nbsp;java.util.Map&lt;java.lang.String, java.lang.Object&gt; <strong>preparedEnvironment</strong>(java.util.Map&lt;java.lang.String, java.lang.Object&gt; env, boolean inheritRubyEnv)</h4>
<p> Prepare a basic environment for usage with an external JRuby environment
<DL><DT><B>Parameters:</B></DT><DD><code>env</code> - Environment to start from</DD><DD><code>inheritRubyEnv</code> - Set to <CODE>true</CODE> is the global RUby environment should be inherited</DD></DL><DL><DT><B>Returns:</B></DT><DD>Map of environmental variables</DD></DL><DL><DT><B>Since:</B></DT><DD>0.1.11</DD></DL></p>
<h4>static&nbsp;void <strong>updateJRubyDependenciesForConfiguration</strong>(<a href='../../../../Project.html'>Project</a> project, java.lang.String configuration, java.lang.String version)</h4>
<p> Update the given configuration on the project with the appropriate versions
of JRuby and supplemental dependencies to execute JRuby successfully
</p>
</li>
</ul>

View File

@ -2,7 +2,7 @@
<html>
<head>
<title>com.github.jrubygradle.internal (jruby-gradle-base-plugin 0.4.1 API)</title>
<title>com.github.jrubygradle.internal (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="keywords" content="com.github.jrubygradle.internal 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.jrubygradle.internal (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="com.github.jrubygradle.internal (jruby-gradle-base-plugin 1.0.0 API)";
}
</script>
<noscript>

View File

@ -23,7 +23,7 @@
<div class="indexContainer">
<h2>Classes</h2>
<ul>
<li><a href="GemUtils.html" title="class in com.github.jrubygradle" target="classFrame">GemUtils</a></li><li><a href="GenerateGradleRb.html" title="class in com.github.jrubygradle" target="classFrame">GenerateGradleRb</a></li><li><a href="JRubyExec.html" title="class in com.github.jrubygradle" target="classFrame">JRubyExec</a></li><li><a href="JRubyPlugin.html" title="class in com.github.jrubygradle" target="classFrame">JRubyPlugin</a></li><li><a href="JRubyPluginExtension.html" title="class in com.github.jrubygradle" target="classFrame">JRubyPluginExtension</a></li><li><a href="JRubyPrepare.html" title="class in com.github.jrubygradle" target="classFrame">JRubyPrepare</a></li><li><a href="JRubyPrepareGems.html" title="class in com.github.jrubygradle" target="classFrame">JRubyPrepareGems</a></li><li><a href="JRubyPrepareJars.html" title="class in com.github.jrubygradle" target="classFrame">JRubyPrepareJars</a></li>
<li><a href="GemUtils.html" title="class in com.github.jrubygradle" target="classFrame">GemUtils</a></li><li><a href="GenerateGradleRb.html" title="class in com.github.jrubygradle" target="classFrame">GenerateGradleRb</a></li><li><a href="JRubyExec.html" title="class in com.github.jrubygradle" target="classFrame">JRubyExec</a></li><li><a href="JRubyPlugin.html" title="class in com.github.jrubygradle" target="classFrame">JRubyPlugin</a></li><li><a href="JRubyPluginExtension.html" title="class in com.github.jrubygradle" target="classFrame">JRubyPluginExtension</a></li><li><a href="JRubyPrepare.html" title="class in com.github.jrubygradle" target="classFrame">JRubyPrepare</a></li>
</ul>
</div>

View File

@ -2,7 +2,7 @@
<html>
<head>
<title>com.github.jrubygradle (jruby-gradle-base-plugin 0.4.1 API)</title>
<title>com.github.jrubygradle (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="keywords" content="com.github.jrubygradle 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.jrubygradle (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="com.github.jrubygradle (jruby-gradle-base-plugin 1.0.0 API)";
}
</script>
<noscript>
@ -119,23 +119,6 @@ function windowTitle()
</td>
<td> <DL><DT><B>Authors:</B></DT><DD>Schalk W.</DD></DL></td>
</tr>
<tr class="altColor">
<td class="colOne">
<strong><a href="JRubyPrepareGems.html" title="class in com/github/jrubygradle">
JRubyPrepareGems
</a></strong>
</td>
<td> <DL><DT><B>Authors:</B></DT><DD>Schalk W.</DD></DL></td>
</tr>
<tr class="altColor">
<td class="colOne">
<strong><a href="JRubyPrepareJars.html" title="class in com/github/jrubygradle">
JRubyPrepareJars
</a></strong>
</td>
<td>Prepare embedded jars or all jars used by JRuby by telling the location
of those jars via JARS_HOME environment. </td>
</tr>
</tbody>
</table>

View File

@ -4,8 +4,8 @@
<head>
<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 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<title>Deprecated API (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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 (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="Deprecated API (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>

View File

@ -5,16 +5,16 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.3.3) on -->
<title>API Help (jruby-gradle-base-plugin 0.4.1 API)</title>
<title>API Help (jruby-gradle-base-plugin 1.0.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-07-21">
<meta name="date" content="2015-07-31">
<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 (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="API Help (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>

View File

@ -4,14 +4,14 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.3.3) on -->
<title>Index (jruby-gradle-base-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<title>Index (jruby-gradle-base-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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 (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="Index (jruby-gradle-base-plugin 1.0.0 API)";
}
//-->
</script>
@ -123,7 +123,7 @@ if (location.href.indexOf('is-external=true') == -1) {
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecDelegate.html#buildArgs()" title="Method in JRubyExecDelegate">buildArgs()</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecDelegate.html">JRubyExecDelegate</a>
</dt><dd> <div class="block">buildArgs creates a list of arguments to pass to the JVM</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecUtils.html#buildArgs(List<Object>, List<Object>, java.io.File, List<Object>)" title="Method in JRubyExecUtils">buildArgs(List&lt;Object&gt;, List&lt;Object&gt;, File, List&lt;Object&gt;)</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecUtils.html">JRubyExecUtils</a>
</dt><dd> <div class="block"></div></dd>
</dt><dd> <div class="block">Construct the correct set of arguments based on the parameters to invoke jruby-complete.jar with</div></dd>
</dl>
@ -135,15 +135,13 @@ if (location.href.indexOf('is-external=true') == -1) {
</dt><dd> <div class="block">Extract a list of files from a configuration that is suitable for a jruby classpath</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/GenerateGradleRb.html#configuration(java.lang.Object)" title="Method in GenerateGradleRb">configuration(Object)</a></span> - Method in <a href="com/github/jrubygradle/GenerateGradleRb.html">GenerateGradleRb</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyExec.html#configuration(java.lang.String)" title="Method in JRubyExec">configuration(String)</a></span> - Method in <a href="com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
</dt><dd> <div class="block">Sets the configurations</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecTraits.html#configuration(java.lang.String)" title="Method in JRubyExecTraits">configuration(String)</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecTraits.html">JRubyExecTraits</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/GemVersion.html#conflict()" title="Method in GemVersion">conflict()</a></span> - Method in <a href="com/github/jrubygradle/internal/GemVersion.html">GemVersion</a>
</dt><dd> <div class="block">examines the version range on conflict, i.e. lower bound bigger then
upper bound.</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPrepare.html#copy()" title="Method in JRubyPrepare">copy()</a></span> - Method in <a href="com/github/jrubygradle/JRubyPrepare.html">JRubyPrepare</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPrepareJars.html#copy()" title="Method in JRubyPrepareJars">copy()</a></span> - Method in <a href="com/github/jrubygradle/JRubyPrepareJars.html">JRubyPrepareJars</a>
</dt><dd> <div class="block"></div></dd>
</dt><dd> <div class="block">Adds dependencies from the given configuration to be prepared</div></dd>
</dl>
@ -151,6 +149,8 @@ if (location.href.indexOf('is-external=true') == -1) {
<h2 class="title">D</h2>
<dl>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPrepare.html#dependencies(java.lang.Object)" title="Method in JRubyPrepare">dependencies(Object)</a></span> - Method in <a href="com/github/jrubygradle/JRubyPrepare.html">JRubyPrepare</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/GenerateGradleRb.html#destinationDir(java.lang.Object)" title="Method in GenerateGradleRb">destinationDir(Object)</a></span> - Method in <a href="com/github/jrubygradle/GenerateGradleRb.html">GenerateGradleRb</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/GenerateGradleRb.html#destinationFile()" title="Method in GenerateGradleRb">destinationFile()</a></span> - Method in <a href="com/github/jrubygradle/GenerateGradleRb.html">GenerateGradleRb</a>
@ -191,8 +191,6 @@ if (location.href.indexOf('is-external=true') == -1) {
gem "full name" (e.g. rake-10.3.2)</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/GenerateGradleRb.html#gemInstallDir(java.lang.Object)" title="Method in GenerateGradleRb">gemInstallDir(Object)</a></span> - Method in <a href="com/github/jrubygradle/GenerateGradleRb.html">GenerateGradleRb</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPrepare.html#gems(java.lang.Object)" title="Method in JRubyPrepare">gems(Object)</a></span> - Method in <a href="com/github/jrubygradle/JRubyPrepare.html">JRubyPrepare</a>
</dt><dd> <div class="block">Adds gems to be prepared</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/GemUtils.html" title="Class in com.github.jrubygradle">GemUtils</a></span> - Class in <a href="./com/github/jrubygradle/package-summary.html">com.github.jrubygradle</a>
</dt><dd><div class="block">A collection of utilities to manipulate GEMs</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/GemUtils.OverwriteAction.html" title="Enum in com.github.jrubygradle.GemUtils">GemUtils.OverwriteAction</a></span> - Enum in <a href="./com/github/jrubygradle/package-summary.html">com.github.jrubygradle</a>
@ -222,10 +220,12 @@ if (location.href.indexOf('is-external=true') == -1) {
</dt><dd> <div class="block">getArgs gets overridden in order to add JRuby options, script name and script arguments in the correct order.</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/GenerateGradleRb.html#getBaseName()" title="Method in GenerateGradleRb">getBaseName()</a></span> - Method in <a href="com/github/jrubygradle/GenerateGradleRb.html">GenerateGradleRb</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyExec.html#getComputedPATH(java.lang.String)" title="Method in JRubyExec">getComputedPATH(String)</a></span> - Method in <a href="com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecTraits.html#getComputedPATH(java.lang.String)" title="Method in JRubyExecTraits">getComputedPATH(String)</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecTraits.html">JRubyExecTraits</a>
</dt><dd> <div class="block">Return the computed `PATH` for the task</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/GenerateGradleRb.html#getConfiguration()" title="Method in GenerateGradleRb">getConfiguration()</a></span> - Method in <a href="com/github/jrubygradle/GenerateGradleRb.html">GenerateGradleRb</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecTraits.html#getConfiguration()" title="Method in JRubyExecTraits">getConfiguration()</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecTraits.html">JRubyExecTraits</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/GenerateGradleRb.html#getDestinationDir()" title="Method in GenerateGradleRb">getDestinationDir()</a></span> - Method in <a href="com/github/jrubygradle/GenerateGradleRb.html">GenerateGradleRb</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/GenerateGradleRb.html#getGemInstallDir()" title="Method in GenerateGradleRb">getGemInstallDir()</a></span> - Method in <a href="com/github/jrubygradle/GenerateGradleRb.html">GenerateGradleRb</a>
@ -234,24 +234,16 @@ if (location.href.indexOf('is-external=true') == -1) {
</dt><dd> <div class="block">Resolves the currently configured GEM installation directory.</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/GemUtils.html#getGems(FileCollection)" title="Method in GemUtils">getGems(FileCollection)</a></span> - Method in <a href="com/github/jrubygradle/GemUtils.html">GemUtils</a>
</dt><dd> <div class="block">Given a FileCollection return a filtered FileCollection only containing GEMs</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPrepare.html#getGems()" title="Method in JRubyPrepare">getGems()</a></span> - Method in <a href="com/github/jrubygradle/JRubyPrepare.html">JRubyPrepare</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyExec.html#getGemWorkDir()" title="Method in JRubyExec">getGemWorkDir()</a></span> - Method in <a href="com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
</dt><dd> <div class="block">Returns the directory that will be used to unpack GEMs in.</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecDelegate.html#getGemWorkDir()" title="Method in JRubyExecDelegate">getGemWorkDir()</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecDelegate.html">JRubyExecDelegate</a>
</dt><dd> <div class="block">Directory to use for unpacking GEMs.
</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyExec.html#getInheritRubyEnv()" title="Method in JRubyExec">getInheritRubyEnv()</a></span> - Method in <a href="com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
</dt><dd> <div class="block">Allow JRubyExec to inherit a Ruby env from the shell (e.g. </div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecTraits.html#getGemWorkDir()" title="Method in JRubyExecTraits">getGemWorkDir()</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecTraits.html">JRubyExecTraits</a>
</dt><dd> <div class="block">Returns the directory that will be used to unpack Gems into</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPluginExtension.html#getJarInstallDir()" title="Method in JRubyPluginExtension">getJarInstallDir()</a></span> - Method in <a href="com/github/jrubygradle/JRubyPluginExtension.html">JRubyPluginExtension</a>
</dt><dd> <div class="block">Resolves the currently configured Jars installation directory.</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyExec.html#getJrubyArgs()" title="Method in JRubyExec">getJrubyArgs()</a></span> - Method in <a href="com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
</dt><dd> <div class="block">Returns a list of jruby arguments</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyExec.html#getJrubyConfigurationName()" title="Method in JRubyExec">getJrubyConfigurationName()</a></span> - Method in <a href="com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
</dt><dd> <div class="block">Returns the <CODE>Configuration</CODE> object this task is tied to</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPrepareJars.html#getOutputDir()" title="Method in JRubyPrepareJars">getOutputDir()</a></span> - Method in <a href="com/github/jrubygradle/JRubyPrepareJars.html">JRubyPrepareJars</a>
</dt><dd> <div class="block">Target directory for JARs <CODE>outputDir + "/jars"</CODE></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyExec.html#getPreparedEnvironment(java.util.Map)" title="Method in JRubyExec">getPreparedEnvironment(Map)</a></span> - Method in <a href="com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyExec.html#getJrubyVersion()" title="Method in JRubyExec">getJrubyVersion()</a></span> - Method in <a href="com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
</dt><dd> <div class="block">If it is required that a JRubyExec task needs to be executed with a different version of JRuby that the
globally configured one, it can be done by setting it here.</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecTraits.html#getPreparedEnvironment(java.util.Map)" title="Method in JRubyExecTraits">getPreparedEnvironment(Map)</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecTraits.html">JRubyExecTraits</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyExec.html#getScript()" title="Method in JRubyExec">getScript()</a></span> - Method in <a href="com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
</dt><dd> <div class="block">Script to execute.</div></dd>
@ -317,15 +309,6 @@ if (location.href.indexOf('is-external=true') == -1) {
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPrepare.html" title="Class in com.github.jrubygradle">JRubyPrepare</a></span> - Class in <a href="./com/github/jrubygradle/package-summary.html">com.github.jrubygradle</a>
</dt><dd><div class="block"> <DL><DT><B>Authors:</B></DT><DD>Schalk W.</DD></DL></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPrepareGems.html" title="Class in com.github.jrubygradle">JRubyPrepareGems</a></span> - Class in <a href="./com/github/jrubygradle/package-summary.html">com.github.jrubygradle</a>
</dt><dd><div class="block"> <DL><DT><B>Authors:</B></DT><DD>Schalk W.</DD></DL></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPrepareGems.html#JRubyPrepareGems()" title="Constructor in JRubyPrepareGems">JRubyPrepareGems()</a></span> - Constructor in <a href="com/github/jrubygradle/JRubyPrepareGems.html">JRubyPrepareGems</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPrepareJars.html" title="Class in com.github.jrubygradle">JRubyPrepareJars</a></span> - Class in <a href="./com/github/jrubygradle/package-summary.html">com.github.jrubygradle</a>
</dt><dd><div class="block">Prepare embedded jars or all jars used by JRuby by telling the location
of those jars via JARS_HOME environment. </div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPrepareJars.html#JRubyPrepareJars()" title="Constructor in JRubyPrepareJars">JRubyPrepareJars()</a></span> - Constructor in <a href="com/github/jrubygradle/JRubyPrepareJars.html">JRubyPrepareJars</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyExec.html#jrubyVersion(java.lang.String)" title="Method in JRubyExec">jrubyVersion(String)</a></span> - Method in <a href="com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
</dt><dd> <div class="block">Setting the <CODE>jruby-complete</CODE> version allows for tasks to be run using different versions of JRuby.
</div></dd>
@ -372,8 +355,6 @@ if (location.href.indexOf('is-external=true') == -1) {
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPrepare.html#outputDir(java.lang.Object)" title="Method in JRubyPrepare">outputDir(Object)</a></span> - Method in <a href="com/github/jrubygradle/JRubyPrepare.html">JRubyPrepare</a>
</dt><dd> <div class="block">Sets the output directory</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPrepareJars.html#outputDir(java.lang.Object)" title="Method in JRubyPrepareJars">outputDir(Object)</a></span> - Method in <a href="com/github/jrubygradle/JRubyPrepareJars.html">JRubyPrepareJars</a>
</dt><dd> <div class="block">Sets the output directory</div></dd>
</dl>
@ -383,8 +364,8 @@ if (location.href.indexOf('is-external=true') == -1) {
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecUtils.html#pathVar()" title="Method in JRubyExecUtils">pathVar()</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecUtils.html">JRubyExecUtils</a>
</dt><dd> <div class="block">Get the name of the system search path environmental variable</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecUtils.html#preparedEnvironment(Map<String, Object>, boolean)" title="Method in JRubyExecUtils">preparedEnvironment(Map&lt;String, Object&gt;, boolean)</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecUtils.html">JRubyExecUtils</a>
</dt><dd> <div class="block">Prepare a basic environment for usage with an external JRuby environment</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecTraits.html#prepareDependencies(Project, com.github.jrubygradle.GemUtils.OverwriteAction)" title="Method in JRubyExecTraits">prepareDependencies(Project, OverwriteAction)</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecTraits.html">JRubyExecTraits</a>
</dt><dd> <div class="block">Prepare dependencies with a custom overwrite behavior</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecUtils.html#prepareWorkingPath(java.io.File, java.lang.String)" title="Method in JRubyExecUtils">prepareWorkingPath(File, String)</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecUtils.html">JRubyExecUtils</a>
</dt><dd> <div class="block">Create a search path that includes the GEM working directory</div></dd>
</dl>
@ -422,8 +403,6 @@ if (location.href.indexOf('is-external=true') == -1) {
</dt><dd> <div class="block">Change the version of jruby for jrubyexec and JRubyExec</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPluginExtension.html#setGemInstallDir(java.lang.Object)" title="Method in JRubyPluginExtension">setGemInstallDir(Object)</a></span> - Method in <a href="com/github/jrubygradle/JRubyPluginExtension.html">JRubyPluginExtension</a>
</dt><dd> <div class="block">Sets the gem installation directory. </div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecTraits.html#setGemWorkDir(java.lang.Object)" title="Method in JRubyExecTraits">setGemWorkDir(Object)</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecTraits.html">JRubyExecTraits</a>
</dt><dd> <div class="block">Set alternative GEM unpack directory to use</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyPluginExtension.html#setJarInstallDir(java.lang.Object)" title="Method in JRubyPluginExtension">setJarInstallDir(Object)</a></span> - Method in <a href="com/github/jrubygradle/JRubyPluginExtension.html">JRubyPluginExtension</a>
</dt><dd> <div class="block">Sets the jar installation directory. </div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyExec.html#setJrubyVersion(java.lang.String)" title="Method in JRubyExec">setJrubyVersion(String)</a></span> - Method in <a href="com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
@ -456,7 +435,11 @@ if (location.href.indexOf('is-external=true') == -1) {
<dl>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyExec.html#updateJRubyDependencies(Project)" title="Method in JRubyExec">updateJRubyDependencies(Project)</a></span> - Method in <a href="com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
</dt><dd> <div class="block"></div></dd>
</dt><dd> <div class="block">Ensure that our JRuby depedencies are updated properly for the default jrubyExec configuration
and all other JRubyExec tasks</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecUtils.html#updateJRubyDependenciesForConfiguration(Project, java.lang.String, java.lang.String)" title="Method in JRubyExecUtils">updateJRubyDependenciesForConfiguration(Project, String, String)</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecUtils.html">JRubyExecUtils</a>
</dt><dd> <div class="block">Update the given configuration on the project with the appropriate versions
of JRuby and supplemental dependencies to execute JRuby successfully</div></dd>
</dl>
@ -464,6 +447,8 @@ if (location.href.indexOf('is-external=true') == -1) {
<h2 class="title">V</h2>
<dl>
<dt><span class="strong"><a href="com/github/jrubygradle/JRubyExec.html#validateTaskConfiguration()" title="Method in JRubyExec">validateTaskConfiguration()</a></span> - Method in <a href="com/github/jrubygradle/JRubyExec.html">JRubyExec</a>
</dt><dd> <div class="block">Verify that we are in a good configuration for execution</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/internal/JRubyExecDelegate.html#valuesAt(java.lang.Integer)" title="Method in JRubyExecDelegate">valuesAt(Integer)</a></span> - Method in <a href="com/github/jrubygradle/internal/JRubyExecDelegate.html">JRubyExecDelegate</a>
</dt><dd> <div class="block"></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 (jruby-gradle-base-plugin 0.4.1 API)</title>
<title>Index (jruby-gradle-base-plugin 1.0.0 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 (jruby-gradle-base-plugin 0.4.1 API)</title>
<title>Overview (jruby-gradle-base-plugin 1.0.0 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 (jruby-gradle-base-plugin 0.4.1 API)</title>
<title>Overview (jruby-gradle-base-plugin 1.0.0 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 (jruby-gradle-base-plugin 0.4.1 API)";
parent.document.title="Overview (jruby-gradle-base-plugin 1.0.0 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">jruby-gradle-base-plugin 0.4.1 API</h1>
<h1 class="title">jruby-gradle-base-plugin 1.0.0 API</h1>
</div>
<div class="header">

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- 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-22">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:25 PDT 2015 -->
<title>JRubyJar.Type (jruby-gradle-jar-plugin 1.0.0)</title>
<meta name="date" content="2015-07-31">
<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="JRubyJar.Type (jruby-gradle-jar-plugin 0.4.1)";
parent.document.title="JRubyJar.Type (jruby-gradle-jar-plugin 1.0.0)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- 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-22">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:25 PDT 2015 -->
<title>JRubyJar (jruby-gradle-jar-plugin 1.0.0)</title>
<meta name="date" content="2015-07-31">
<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="JRubyJar (jruby-gradle-jar-plugin 0.4.1)";
parent.document.title="JRubyJar (jruby-gradle-jar-plugin 1.0.0)";
}
//-->
</script>
@ -50,11 +50,11 @@ if (location.href.indexOf('is-external=true') == -1) {
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_summary">Nested</a></li>&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;<li><a href="#property_summary">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
<li><a href="#nested_summary">Nested</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#field_summary">Field</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#property_summary">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
</ul>
<ul class="subNavList">
<li>&nbsp;|&nbsp;Detail:&nbsp;</li>
Field&nbsp;&nbsp;&nbsp;<li><a href="#prop_detail">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
<li><a href="#field_detail">Field</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#prop_detail">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
</ul>
</div>
<a name="skip-navbar_top">
@ -119,6 +119,48 @@ if (location.href.indexOf('is-external=true') == -1) {
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary"><!-- --></a>
<h3>Field Summary</h3>
<ul class="blockList">
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum constants summary table">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifiers</th>
<th class="colLast" scope="col">Name</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><strong>protected&nbsp;<a href='../../../../com/github/jrubygradle/jar/internal/JRubyDirInfo.html'>JRubyDirInfo</a></strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#dirInfo">dirInfo</a></code></td>
<td class="colLast"></code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><strong>protected&nbsp;java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#jrubyVersion">jrubyVersion</a></code></td>
<td class="colLast"></code></td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><strong>protected&nbsp;<a href='../../../../JRubyPrepare.html'>JRubyPrepare</a></strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#prepareTask">prepareTask</a></code></td>
<td class="colLast"></code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><strong>protected&nbsp;java.lang.Object</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#scriptName">scriptName</a></code></td>
<td class="colLast"></code></td>
</tr>
</table>
</ul>
</li>
</ul>
<!-- =========== PROPERTY SUMMARY =========== -->
@ -135,25 +177,30 @@ if (location.href.indexOf('is-external=true') == -1) {
<tr class="altColor">
<td class="colFirst"><code><strong>static&nbsp;java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#DEFAULT_MAIN_CLASS"></a>DEFAULT_MAIN_CLASS</code><br></td>
<td class="colLast"><code><a href="#DEFAULT_JRUBYJAR_CONFIG"></a>DEFAULT_JRUBYJAR_CONFIG</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><strong>static&nbsp;java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#DEFAULT_MAIN_CLASS"></a>DEFAULT_MAIN_CLASS</code><br></td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><strong>static&nbsp;java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#EXTRACTING_MAIN_CLASS"></a>EXTRACTING_MAIN_CLASS</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><strong>java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#configuration"></a>configuration</code><br></td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><strong>java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#jrubyMainsVersion"></a>jrubyMainsVersion</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><strong>java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#jrubyVersion"></a>jrubyVersion</code><br></td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><strong>java.lang.String</strong></code>&nbsp;</td>
<td class="colLast"><code><a href="#mainClass"></a>mainClass</code><br></td>
</tr>
@ -207,13 +254,12 @@ if (location.href.indexOf('is-external=true') == -1) {
<tr class="altColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#applyConfig()">applyConfig</a></strong>()</code><br></td>
<td class="colLast"><code><strong><a href="#addJRubyDependencies(Configuration)">addJRubyDependencies</a></strong>(<a href='../../../../Configuration.html'>Configuration</a> config)</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#defaultGems()">defaultGems</a></strong>()</code><br>Loads the default GEM installation directory and
JAR installation directory</td>
<td class="colLast"><code><strong><a href="#applyConfig()">applyConfig</a></strong>()</code><br></td>
</tr>
<tr class="altColor">
@ -233,13 +279,13 @@ if (location.href.indexOf('is-external=true') == -1) {
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#gemDir(def, java.io.File)">gemDir</a></strong>(java.lang.Object properties = [:], java.io.File f)</code><br>Adds a GEM installation directory</td>
<td class="colFirst"><code>java.io.File</strong></code></td>
<td class="colLast"><code><strong><a href="#getGemDir()">getGemDir</a></strong>()</code><br>Return the directory that the dependencies for this project will be staged into</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#gemDir(def, java.lang.Object)">gemDir</a></strong>(java.lang.Object properties = [:], java.lang.Object dir)</code><br>Adds a GEM installation directory</td>
<td class="colFirst"><code>java.lang.String</strong></code></td>
<td class="colLast"><code><strong><a href="#getJrubyVersion()">getJrubyVersion</a></strong>()</code><br>Return the project default unless set</td>
</tr>
<tr class="rowColor">
@ -248,35 +294,40 @@ if (location.href.indexOf('is-external=true') == -1) {
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#jruby(groovy.lang.Closure)">jruby</a></strong>(groovy.lang.Closure cfg)</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#jrubyMainsVersion(java.lang.String)">jrubyMainsVersion</a></strong>(java.lang.String version)</code><br></td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#jrubyVersion(java.lang.String)">jrubyVersion</a></strong>(java.lang.String version)</code><br></td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colFirst"><code><a href='../../../../com/github/jrubygradle/jar/JRubyJar.Type.html'>JRubyJar.Type</a></strong></code></td>
<td class="colLast"><code><strong><a href="#library()">library</a></strong>()</code><br></td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#mainClass(java.lang.String)">mainClass</a></strong>(java.lang.String className)</code><br>Makes the JAR executable by setting a custom main class</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colFirst"><code><a href='../../../../com/github/jrubygradle/jar/JRubyJar.Type.html'>JRubyJar.Type</a></strong></code></td>
<td class="colLast"><code><strong><a href="#runnable()">runnable</a></strong>()</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#setConfiguration(java.lang.String)">setConfiguration</a></strong>(java.lang.String newConfiguration)</code><br></td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#updateDependencies()">updateDependencies</a></strong>()</code><br></td>
</tr>
</table>
</ul>
</li>
@ -293,6 +344,48 @@ if (location.href.indexOf('is-external=true') == -1) {
<!-- =========== FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="dirInfo"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>protected&nbsp;<a href='../../../../com/github/jrubygradle/jar/internal/JRubyDirInfo.html'>JRubyDirInfo</a> <strong>dirInfo</strong></h4>
<p></p>
</li>
</ul>
<a name="jrubyVersion"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>protected&nbsp;java.lang.String <strong>jrubyVersion</strong></h4>
<p></p>
</li>
</ul>
<a name="prepareTask"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>protected&nbsp;<a href='../../../../JRubyPrepare.html'>JRubyPrepare</a> <strong>prepareTask</strong></h4>
<p></p>
</li>
</ul>
<a name="scriptName"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>protected&nbsp;java.lang.Object <strong>scriptName</strong></h4>
<p></p>
</li>
</ul>
</li>
</ul>
<!-- =========== PROPERTY DETAIL =========== -->
@ -302,6 +395,14 @@ if (location.href.indexOf('is-external=true') == -1) {
</a>
<h3>Property Detail</h3>
<a name="DEFAULT_JRUBYJAR_CONFIG"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>static&nbsp;final&nbsp;java.lang.String <strong>DEFAULT_JRUBYJAR_CONFIG</strong></h4>
<p></p>
</li>
</ul>
<a name="DEFAULT_MAIN_CLASS"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
@ -318,6 +419,16 @@ if (location.href.indexOf('is-external=true') == -1) {
</li>
</ul>
<a name="configuration"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Input
@java.util.Optional
java.lang.String <strong>configuration</strong></h4>
<p></p>
</li>
</ul>
<a name="jrubyMainsVersion"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
@ -327,15 +438,6 @@ java.lang.String <strong>jrubyMainsVersion</strong></h4>
</li>
</ul>
<a name="jrubyVersion"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Input
java.lang.String <strong>jrubyVersion</strong></h4>
<p></p>
</li>
</ul>
<a name="mainClass"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
@ -380,6 +482,14 @@ java.lang.String <strong>mainClass</strong></h4>
</a>
<h3>Method Detail</h3>
<a name="addJRubyDependencies(Configuration)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>void <strong>addJRubyDependencies</strong>(<a href='../../../../Configuration.html'>Configuration</a> config)</h4>
<p></p>
</li>
</ul>
<a name="applyConfig()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
@ -389,24 +499,11 @@ void <strong>applyConfig</strong>()</h4>
</li>
</ul>
<a name="defaultGems()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>void <strong>defaultGems</strong>()</h4>
<p> Loads the default GEM installation directory and
JAR installation directory
</p>
</li>
</ul>
<a name="defaultMainClass()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Incubating
void <strong>defaultMainClass</strong>()</h4>
<h4>void <strong>defaultMainClass</strong>()</h4>
<p> Makes the executable by adding a default main class
</p>
</li>
</ul>
@ -424,49 +521,33 @@ void <strong>defaultMainClass</strong>()</h4>
<a name="extractingMainClass()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Incubating
void <strong>extractingMainClass</strong>()</h4>
<h4>void <strong>extractingMainClass</strong>()</h4>
<p> Makes the executable by adding a default main class
which extracts the jar to temporary directory
</p>
</li>
</ul>
<a name="gemDir(def, java.io.File)"><!-- --></a>
<a name="getGemDir()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@InputDirectory
void <strong>gemDir</strong>(java.lang.Object properties = [:], java.io.File f)</h4>
<p> Adds a GEM installation directory
</p>
<h4>java.io.File <strong>getGemDir</strong>()</h4>
<p> Return the directory that the dependencies for this project will be staged into </p>
</li>
</ul>
<a name="gemDir(def, java.lang.Object)"><!-- --></a>
<a name="getJrubyVersion()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>void <strong>gemDir</strong>(java.lang.Object properties = [:], java.lang.Object dir)</h4>
<p> Adds a GEM installation directory
<DL><DT><B>Parameters:</B></DT><DD><code>Properties</code> - that affect how the GEM is packaged in the JAR. Currently only <CODE>fullGem</CODE> is
supported. If set the full GEM content will be packed, otherwise only a subset will be packed.</DD><DD><code>dir</code> - Source folder. Will be handled by <CODE>project.files(dir)</CODE></DD></DL></p>
<h4>java.lang.String <strong>getJrubyVersion</strong>()</h4>
<p> Return the project default unless set </p>
</li>
</ul>
<a name="initScript(java.lang.Object)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Incubating
void <strong>initScript</strong>(java.lang.Object scriptName)</h4>
<p></p>
</li>
</ul>
<a name="jruby(groovy.lang.Closure)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@java.lang.Deprecated
void <strong>jruby</strong>(groovy.lang.Closure cfg)</h4>
<h4>void <strong>initScript</strong>(java.lang.Object scriptName)</h4>
<p></p>
</li>
</ul>
@ -482,7 +563,8 @@ void <strong>jruby</strong>(groovy.lang.Closure cfg)</h4>
<a name="jrubyVersion(java.lang.String)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>void <strong>jrubyVersion</strong>(java.lang.String version)</h4>
<h4>@Input
void <strong>jrubyVersion</strong>(java.lang.String version)</h4>
<p></p>
</li>
</ul>
@ -498,8 +580,7 @@ void <strong>jruby</strong>(groovy.lang.Closure cfg)</h4>
<a name="mainClass(java.lang.String)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@Incubating
void <strong>mainClass</strong>(java.lang.String className)</h4>
<h4>void <strong>mainClass</strong>(java.lang.String className)</h4>
<p> Makes the JAR executable by setting a custom main class
<DL><DT><B>Parameters:</B></DT><DD><code>className</code> - Name of main class</DD></DL></p>
</li>
@ -513,6 +594,22 @@ void <strong>mainClass</strong>(java.lang.String className)</h4>
</li>
</ul>
<a name="setConfiguration(java.lang.String)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>void <strong>setConfiguration</strong>(java.lang.String newConfiguration)</h4>
<p></p>
</li>
</ul>
<a name="updateDependencies()"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>void <strong>updateDependencies</strong>()</h4>
<p></p>
</li>
</ul>
</li>
</ul>
@ -547,11 +644,11 @@ void <strong>mainClass</strong>(java.lang.String className)</h4>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_summary">Nested</a></li>&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;<li><a href="#property_summary">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
<li><a href="#nested_summary">Nested</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#field_summary">Field</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#property_summary">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
</ul>
<ul class="subNavList">
<li>&nbsp;|&nbsp;Detail:&nbsp;</li>
Field&nbsp;&nbsp;&nbsp;<li><a href="#prop_detail">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
<li><a href="#field_detail">Field</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#prop_detail">Property</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
</ul>
</div>
<p>Groovy Documentation</p>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- 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-22">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:25 PDT 2015 -->
<title>JRubyJarPlugin (jruby-gradle-jar-plugin 1.0.0)</title>
<meta name="date" content="2015-07-31">
<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="JRubyJarPlugin (jruby-gradle-jar-plugin 0.4.1)";
parent.document.title="JRubyJarPlugin (jruby-gradle-jar-plugin 1.0.0)";
}
//-->
</script>
@ -131,16 +131,11 @@ if (location.href.indexOf('is-external=true') == -1) {
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#addAfterEvaluateHooks(Project)">addAfterEvaluateHooks</a></strong>(<a href='../../../../Project.html'>Project</a> project)</code><br></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#apply(Project)">apply</a></strong>(<a href='../../../../Project.html'>Project</a> project)</code><br></td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colFirst"><code>void</strong></code></td>
<td class="colLast"><code><strong><a href="#updateTestTask(Project)">updateTestTask</a></strong>(<a href='../../../../Project.html'>Project</a> project)</code><br></td>
</tr>
@ -195,15 +190,6 @@ if (location.href.indexOf('is-external=true') == -1) {
</a>
<h3>Method Detail</h3>
<a name="addAfterEvaluateHooks(Project)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">
<h4>@groovy.transform.PackageScope
void <strong>addAfterEvaluateHooks</strong>(<a href='../../../../Project.html'>Project</a> project)</h4>
<p></p>
</li>
</ul>
<a name="apply(Project)"><!-- --></a>
<ul class="blockListLast">
<li class="blockList">

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- 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-22">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:25 PDT 2015 -->
<title>JRubyDirInfo (jruby-gradle-jar-plugin 1.0.0)</title>
<meta name="date" content="2015-07-31">
<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="JRubyDirInfo (jruby-gradle-jar-plugin 0.4.1)";
parent.document.title="JRubyDirInfo (jruby-gradle-jar-plugin 1.0.0)";
}
//-->
</script>

View File

@ -2,7 +2,7 @@
<html>
<head>
<title>com.github.jrubygradle.jar.internal (jruby-gradle-jar-plugin 0.4.1 API)</title>
<title>com.github.jrubygradle.jar.internal (jruby-gradle-jar-plugin 1.0.0 API)</title>
<meta name="keywords" content="com.github.jrubygradle.jar.internal 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.jrubygradle.jar.internal (jruby-gradle-jar-plugin 0.4.1 API)";
parent.document.title="com.github.jrubygradle.jar.internal (jruby-gradle-jar-plugin 1.0.0 API)";
}
</script>
<noscript>

View File

@ -2,7 +2,7 @@
<html>
<head>
<title>com.github.jrubygradle.jar (jruby-gradle-jar-plugin 0.4.1 API)</title>
<title>com.github.jrubygradle.jar (jruby-gradle-jar-plugin 1.0.0 API)</title>
<meta name="keywords" content="com.github.jrubygradle.jar 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.jrubygradle.jar (jruby-gradle-jar-plugin 0.4.1 API)";
parent.document.title="com.github.jrubygradle.jar (jruby-gradle-jar-plugin 1.0.0 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.3.3) on -->
<title>Deprecated API (jruby-gradle-jar-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-22">
<title>Deprecated API (jruby-gradle-jar-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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 (jruby-gradle-jar-plugin 0.4.1 API)";
parent.document.title="Deprecated API (jruby-gradle-jar-plugin 1.0.0 API)";
}
//-->
</script>

View File

@ -5,16 +5,16 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.3.3) on -->
<title>API Help (jruby-gradle-jar-plugin 0.4.1 API)</title>
<title>API Help (jruby-gradle-jar-plugin 1.0.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-07-22">
<meta name="date" content="2015-07-31">
<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 (jruby-gradle-jar-plugin 0.4.1 API)";
parent.document.title="API Help (jruby-gradle-jar-plugin 1.0.0 API)";
}
//-->
</script>

View File

@ -4,14 +4,14 @@
<head>
<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-22">
<title>Index (jruby-gradle-jar-plugin 1.0.0 API)</title>
<meta name="date" content="2015-07-31">
<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 (jruby-gradle-jar-plugin 0.4.1 API)";
parent.document.title="Index (jruby-gradle-jar-plugin 1.0.0 API)";
}
//-->
</script>
@ -107,7 +107,7 @@ if (location.href.indexOf('is-external=true') == -1) {
<dt><span class="strong"><a href="com/github/jrubygradle/jar/internal/JRubyDirInfo.html#add(RelativePath)" title="Method in JRubyDirInfo">add(RelativePath)</a></span> - Method in <a href="com/github/jrubygradle/jar/internal/JRubyDirInfo.html">JRubyDirInfo</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJarPlugin.html#addAfterEvaluateHooks(Project)" title="Method in JRubyJarPlugin">addAfterEvaluateHooks(Project)</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJarPlugin.html">JRubyJarPlugin</a>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#addJRubyDependencies(Configuration)" title="Method in JRubyJar">addJRubyDependencies(Configuration)</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJarPlugin.html#apply(Project)" title="Method in JRubyJarPlugin">apply(Project)</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJarPlugin.html">JRubyJarPlugin</a>
</dt><dd> <div class="block"></div></dd>
@ -134,13 +134,12 @@ if (location.href.indexOf('is-external=true') == -1) {
<h2 class="title">D</h2>
<dl>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#defaultGems()" title="Method in JRubyJar">defaultGems()</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block">Loads the default GEM installation directory and
JAR installation directory</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#defaultMainClass()" title="Method in JRubyJar">defaultMainClass()</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block">Makes the executable by adding a default main class</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#defaults(java.lang.String)" title="Method in JRubyJar">defaults(String)</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block">Sets the defaults</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#dirInfo" title="Field in JRubyJar">dirInfo</a></span> - Field in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block"></div></dd>
</dl>
@ -165,8 +164,10 @@ if (location.href.indexOf('is-external=true') == -1) {
<h2 class="title">G</h2>
<dl>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#gemDir(def, java.lang.Object)" title="Method in JRubyJar">gemDir(def, Object)</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block">Adds a GEM installation directory</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#getGemDir()" title="Method in JRubyJar">getGemDir()</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block">Return the directory that the dependencies for this project will be staged into</div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#getJrubyVersion()" title="Method in JRubyJar">getJrubyVersion()</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block">Return the project default unless set</div></dd>
</dl>
@ -190,8 +191,6 @@ if (location.href.indexOf('is-external=true') == -1) {
<h2 class="title">J</h2>
<dl>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#jruby(groovy.lang.Closure)" title="Method in JRubyJar">jruby(Closure)</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/internal/JRubyDirInfo.html" title="Class in com.github.jrubygradle.jar.internal">JRubyDirInfo</a></span> - Class in <a href="./com/github/jrubygradle/jar/internal/package-summary.html">com.github.jrubygradle.jar.internal</a>
</dt><dd><div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/internal/JRubyDirInfo.html#JRubyDirInfo(java.io.File)" title="Constructor in JRubyDirInfo">JRubyDirInfo(File)</a></span> - Constructor in <a href="com/github/jrubygradle/jar/internal/JRubyDirInfo.html">JRubyDirInfo</a>
@ -206,7 +205,7 @@ if (location.href.indexOf('is-external=true') == -1) {
</dt><dd><div class="block"> <DL><DT><B>Authors:</B></DT><DD>Schalk W.</DD></DL></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#jrubyMainsVersion(java.lang.String)" title="Method in JRubyJar">jrubyMainsVersion(String)</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#jrubyVersion(java.lang.String)" title="Method in JRubyJar">jrubyVersion(String)</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#jrubyVersion" title="Field in JRubyJar">jrubyVersion</a></span> - Field in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block"></div></dd>
</dl>
@ -254,6 +253,8 @@ if (location.href.indexOf('is-external=true') == -1) {
<h2 class="title">P</h2>
<dl>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#prepareTask" title="Field in JRubyJar">prepareTask</a></span> - Field in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/internal/JRubyDirInfo.html#process(java.io.File)" title="Method in JRubyDirInfo">process(File)</a></span> - Method in <a href="com/github/jrubygradle/jar/internal/JRubyDirInfo.html">JRubyDirInfo</a>
</dt><dd> <div class="block"></div></dd>
</dl>
@ -279,6 +280,10 @@ if (location.href.indexOf('is-external=true') == -1) {
<h2 class="title">S</h2>
<dl>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#scriptName" title="Field in JRubyJar">scriptName</a></span> - Field in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#setConfiguration(java.lang.String)" title="Method in JRubyJar">setConfiguration(String)</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block"></div></dd>
</dl>
@ -295,6 +300,8 @@ if (location.href.indexOf('is-external=true') == -1) {
<h2 class="title">U</h2>
<dl>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJar.html#updateDependencies()" title="Method in JRubyJar">updateDependencies()</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJar.html">JRubyJar</a>
</dt><dd> <div class="block"></div></dd>
<dt><span class="strong"><a href="com/github/jrubygradle/jar/JRubyJarPlugin.html#updateTestTask(Project)" title="Method in JRubyJarPlugin">updateTestTask(Project)</a></span> - Method in <a href="com/github/jrubygradle/jar/JRubyJarPlugin.html">JRubyJarPlugin</a>
</dt><dd> <div class="block"></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 (jruby-gradle-jar-plugin 0.4.1 API)</title>
<title>Index (jruby-gradle-jar-plugin 1.0.0 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 (jruby-gradle-jar-plugin 0.4.1)</title>
<title>Overview (jruby-gradle-jar-plugin 1.0.0)</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 (jruby-gradle-jar-plugin 0.4.1 API)</title>
<title>Overview (jruby-gradle-jar-plugin 1.0.0 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 (jruby-gradle-jar-plugin 0.4.1 API)";
parent.document.title="Overview (jruby-gradle-jar-plugin 1.0.0 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">jruby-gradle-jar-plugin 0.4.1</h1>
<h1 class="title">jruby-gradle-jar-plugin 1.0.0</h1>
</div>
<div class="header">

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:07 PDT 2015 -->
<title>JRubyWar (jruby-gradle-war-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:25 PDT 2015 -->
<title>JRubyWar (jruby-gradle-war-plugin 1.0.0-alpha API)</title>
<meta name="date" content="2015-07-31">
<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="JRubyWar (jruby-gradle-war-plugin 0.4.1 API)";
parent.document.title="JRubyWar (jruby-gradle-war-plugin 1.0.0-alpha API)";
}
//-->
</script>

View File

@ -6,9 +6,9 @@
<html>
<head>
<!-- Generated by groovydoc (2.3.3) on Tue Jul 21 09:55:07 PDT 2015 -->
<title>JRubyWarPlugin (jruby-gradle-war-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<!-- Generated by groovydoc (2.3.3) on Fri Jul 31 01:11:25 PDT 2015 -->
<title>JRubyWarPlugin (jruby-gradle-war-plugin 1.0.0-alpha API)</title>
<meta name="date" content="2015-07-31">
<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="JRubyWarPlugin (jruby-gradle-war-plugin 0.4.1 API)";
parent.document.title="JRubyWarPlugin (jruby-gradle-war-plugin 1.0.0-alpha API)";
}
//-->
</script>

View File

@ -2,7 +2,7 @@
<html>
<head>
<title>com.github.jrubygradle.war (jruby-gradle-war-plugin 0.4.1 API)</title>
<title>com.github.jrubygradle.war (jruby-gradle-war-plugin 1.0.0-alpha API)</title>
<meta name="keywords" content="com.github.jrubygradle.war 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.jrubygradle.war (jruby-gradle-war-plugin 0.4.1 API)";
parent.document.title="com.github.jrubygradle.war (jruby-gradle-war-plugin 1.0.0-alpha 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.3.3) on -->
<title>Deprecated API (jruby-gradle-war-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<title>Deprecated API (jruby-gradle-war-plugin 1.0.0-alpha API)</title>
<meta name="date" content="2015-07-31">
<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 (jruby-gradle-war-plugin 0.4.1 API)";
parent.document.title="Deprecated API (jruby-gradle-war-plugin 1.0.0-alpha API)";
}
//-->
</script>

View File

@ -5,16 +5,16 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.3.3) on -->
<title>API Help (jruby-gradle-war-plugin 0.4.1 API)</title>
<title>API Help (jruby-gradle-war-plugin 1.0.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-07-21">
<meta name="date" content="2015-07-31">
<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 (jruby-gradle-war-plugin 0.4.1 API)";
parent.document.title="API Help (jruby-gradle-war-plugin 1.0.0-alpha API)";
}
//-->
</script>

View File

@ -4,14 +4,14 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Generated by groovydoc (2.3.3) on -->
<title>Index (jruby-gradle-war-plugin 0.4.1 API)</title>
<meta name="date" content="2015-07-21">
<title>Index (jruby-gradle-war-plugin 1.0.0-alpha API)</title>
<meta name="date" content="2015-07-31">
<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 (jruby-gradle-war-plugin 0.4.1 API)";
parent.document.title="Index (jruby-gradle-war-plugin 1.0.0-alpha API)";
}
//-->
</script>

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 (jruby-gradle-war-plugin 0.4.1 API)</title>
<title>Index (jruby-gradle-war-plugin 1.0.0-alpha 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 (jruby-gradle-war-plugin 0.4.1 API)</title>
<title>Overview (jruby-gradle-war-plugin 1.0.0-alpha 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 (jruby-gradle-war-plugin 0.4.1 API)</title>
<title>Overview (jruby-gradle-war-plugin 1.0.0-alpha 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 (jruby-gradle-war-plugin 0.4.1 API)";
parent.document.title="Overview (jruby-gradle-war-plugin 1.0.0-alpha 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">jruby-gradle-war-plugin 0.4.1 API</h1>
<h1 class="title">jruby-gradle-war-plugin 1.0.0-alpha API</h1>
</div>
<div class="header">

View File

@ -1,7 +1,7 @@
<html>
<head>
<link href='stylesheets/foundation.css' rel='stylesheet'>
<link href='stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/stylesheets/foundation.css' rel='stylesheet'>
<link href='/stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/news.atom' rel='alternate' title='JRuby/Gradle News' type='application/atom+xml'>
<title>
JRuby/Gradle
@ -14,27 +14,27 @@ JRuby/Gradle
<div id='main_nav'>
<ul>
<li>
<a href='index.html'>
<a href='/'>
Home
</a>
</li>
<li>
<a href='docs.html'>
<a href='/docs/'>
Documentation
</a>
</li>
<li>
<a href='community.html'>
<a href='/community/'>
Community
</a>
</li>
<li>
<a href='news.html'>
<a href='/news/'>
News
</a>
</li>
<li>
<a href='download.html'>
<a href='/download/'>
Download
</a>
</li>
@ -70,16 +70,16 @@ Ruby and Java developers alike.</p>
<div class="ulist">
<ul>
<li>
<p><a href="base.html">Base</a></p>
<p><a href="base/">Base</a></p>
</li>
<li>
<p><a href="jar.html">Jar</a></p>
<p><a href="jar/">Jar</a></p>
</li>
<li>
<p><a href="war.html">War</a></p>
<p><a href="war/">War</a></p>
</li>
<li>
<p><a href="storm.html">Storm</a></p>
<p><a href="storm/">Storm</a></p>
</li>
</ul>
</div>
@ -147,19 +147,17 @@ puts <span class="string"><span class="delimiter">&quot;</span><span class="cont
<pre class="CodeRay highlight nowrap"><code data-lang="gradle">apply plugin: &quot;com.github.jruby-gradle.jar&quot;
dependencies {
/* Using the built-in `gems` configuration to describe the
/* Using the built-in `jrubyJar` configuration to describe the
* dependencies our jrubyJar task will need, so the gem is properly
* included in the resulting .jar file
*/
gems &quot;rubygems:colorize:0.7.7+&quot;
jrubyJar &quot;rubygems:colorize:0.7.7+&quot;
}
jrubyJar {
/* We want to use this Ruby script as our start point when the jar executes
*/
initScript &quot;${projectDir}/entrypoint.rb&quot;
/* make sure we use our gems from the default &quot;gems&quot; configuration! */
defaultGems()
}</code></pre>
</div>
</div>

View File

@ -1,65 +0,0 @@
<html>
<head>
<link href='stylesheets/foundation.css' rel='stylesheet'>
<link href='stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/news.atom' rel='alternate' title='JRuby/Gradle News' type='application/atom+xml'>
<title>
Jar plugin
</title>
</head>
<body>
<a href='https://github.com/jruby-gradle'>
<img alt='Fork me on GitHub' data-canonical-src='https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png' src='https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67' style='position: absolute; top: 0; right: 0; border: 0;'>
</a>
<div id='main_nav'>
<ul>
<li>
<a href='index.html'>
Home
</a>
</li>
<li>
<a href='docs.html'>
Documentation
</a>
</li>
<li>
<a href='community.html'>
Community
</a>
</li>
<li>
<a href='news.html'>
News
</a>
</li>
<li>
<a href='download.html'>
Download
</a>
</li>
<li>
<a href='https://travis-ci.org/jruby-gradle/jruby-gradle-plugin'>
<img src='https://travis-ci.org/jruby-gradle/jruby-gradle-plugin.svg?branch=master'>
</a>
</li>
</ul>
</div>
<div id='content'>
<h1>
Jar plugin
</h1>
<div class="imageblock">
<div class="content">
<a class="image" href="https://travis-ci.org/jruby-gradle/jruby-gradle-plugin"><img src="https://travis-ci.org/jruby-gradle/jruby-gradle-plugin.svg?branch=master" alt="Build Status"></a>
</div>
</div>
<div class="imageblock">
<div class="content">
<a class="image" href="https://bintray.com/jruby-gradle/plugins/jruby-gradle-jar-plugin/_latestVersion"><img src="https://api.bintray.com/packages/jruby-gradle/plugins/jruby-gradle-jar-plugin/images/download.svg" alt="download"></a>
</div>
</div>
</div>
<hr>
</body>
</html>

195
jar/index.html Normal file
View File

@ -0,0 +1,195 @@
<html>
<head>
<link href='/stylesheets/foundation.css' rel='stylesheet'>
<link href='/stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/news.atom' rel='alternate' title='JRuby/Gradle News' type='application/atom+xml'>
<title>
Jar plugin
</title>
</head>
<body>
<a href='https://github.com/jruby-gradle'>
<img alt='Fork me on GitHub' data-canonical-src='https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png' src='https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67' style='position: absolute; top: 0; right: 0; border: 0;'>
</a>
<div id='main_nav'>
<ul>
<li>
<a href='/'>
Home
</a>
</li>
<li>
<a href='/docs/'>
Documentation
</a>
</li>
<li>
<a href='/community/'>
Community
</a>
</li>
<li>
<a href='/news/'>
News
</a>
</li>
<li>
<a href='/download/'>
Download
</a>
</li>
<li>
<a href='https://travis-ci.org/jruby-gradle/jruby-gradle-plugin'>
<img src='https://travis-ci.org/jruby-gradle/jruby-gradle-plugin.svg?branch=master'>
</a>
</li>
</ul>
</div>
<div id='content'>
<h1>
Jar plugin
</h1>
<div id="preamble">
<div class="sectionbody">
<div class="imageblock">
<div class="content">
<a class="image" href="https://travis-ci.org/jruby-gradle/jruby-gradle-plugin"><img src="https://travis-ci.org/jruby-gradle/jruby-gradle-plugin.svg?branch=master" alt="Build Status"></a>
</div>
</div>
<div class="imageblock">
<div class="content">
<a class="image" href="https://bintray.com/jruby-gradle/plugins/jruby-gradle-jar-plugin/_latestVersion"><img src="https://api.bintray.com/packages/jruby-gradle/plugins/jruby-gradle-jar-plugin/images/download.svg" alt="download"></a>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="getting-started"><a class="anchor" href="#getting-started"></a>Getting Started</h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="compatibility"><a class="anchor" href="#compatibility"></a>Compatibility</h3>
<div class="paragraph">
<p>This plugin requires <a href=":http://gradle.org">Gradle</a> 2.0 or better</p>
</div>
</div>
<div class="sect2">
<h3 id="installing"><a class="anchor" href="#installing"></a>Installing</h3>
<div class="listingblock">
<div class="title">build.gradle</div>
<div class="content">
<pre class="CodeRay highlight nowrap"><code data-lang="groovy">buildscript {
repositories { jcenter() }
dependencies {
<span class="comment">/* check jruby-gradle.org for the latest release */</span>
classpath <span class="string"><span class="delimiter">&quot;</span><span class="content">com.github.jruby-gradle:jruby-gradle-jar-plugin:1.0.0</span><span class="delimiter">&quot;</span></span>
}
}
apply <span class="key">plugin</span>: <span class="string"><span class="delimiter">'</span><span class="content">com.github.jruby-gradle.jar</span><span class="delimiter">'</span></span></code></pre>
</div>
</div>
<div class="sect3">
<h4 id="implicitly-loaded-plugins"><a class="anchor" href="#implicitly-loaded-plugins"></a>Implicitly loaded plugins</h4>
<div class="paragraph">
<p>Currently, the <code>jar</code> plugin only depends on the <a href="/base/">base</a> plugin of the
same version as the jar plugin and the <code>java-base</code> plugin included with your
version of Gradle.</p>
</div>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="tasks"><a class="anchor" href="#tasks"></a>Tasks</h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="jrubyjar"><a class="anchor" href="#jrubyjar"></a>JRubyJar</h3>
<div class="listingblock">
<div class="title">build.gradle</div>
<div class="content">
<pre class="CodeRay highlight nowrap"><code data-lang="gradle">jrubyJar {
// Use the default GEM installation directory
defaultGems()
// Add this GEM installation directory to the JAR.
// Can be called more than once for additional directories
gemDir '/path/to/my/gemDir'
// Equivalent to calling defaultGems()
defaults 'gem'
// All methods and properties from `Jar`
}</code></pre>
</div>
</div>
<div class="sect3">
<h4 id="types-of-jars"><a class="anchor" href="#types-of-jars"></a>Types of jars</h4>
<div class="ulist">
<ul>
<li>
<p><a href="#library">Library Jars</a></p>
</li>
<li>
<p><a href="#runnable">Runnable Jars</a></p>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="runnable"><a class="anchor" href="#runnable"></a>Runnable Jars</h2>
<div class="sectionbody">
<div class="listingblock">
<div class="title">build.gradle</div>
<div class="content">
<pre class="CodeRay highlight nowrap"><code data-lang="gradle">jrubyJar {
// tell the plugin to pack a runnable jar
initScript runnable()
// Use the default bootstrap class (can be omitted)
defaultMainClass()
// Includes the default gems to the jar (can be omitted)
defaultGems()
// Make the JAR executable by supplying your own main class
mainClass 'my.own.main'
// Equivalent to calling defaultMainClass() and defaultGems()
defaults 'gems', 'mainClass'
}</code></pre>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="library"><a class="anchor" href="#library"></a>Library Jars</h2>
<div class="sectionbody">
<div class="paragraph">
<p>A library jar isn&#8217;t really much more than a container which includes the
configured gems and jar dependencies inside of the packaged <code>.jar</code> file.</p>
</div>
<div class="listingblock">
<div class="title">build.gradle</div>
<div class="content">
<pre class="CodeRay highlight nowrap"><code data-lang="gradle">jrubyJar {
// tell the plugin to pack a runnable jar (no bootstrap script)
initScript library()
// Includes the default gems to the jar (can be omitted)
defaultGems()
// Equivalent to calling defaultGems()
defaults 'gems'
}</code></pre>
</div>
</div>
</div>
</div>
</div>
<hr>
</body>
</html>

View File

@ -5,11 +5,11 @@
<link href='http://jruby-gradle.org/news.atom' rel='self' type='application/atom+xml'>
<link href='http://jruby-gradle.org/' rel='alternate' type='text/html'>
<entry>
<id>http://jruby-gradle.org/news/2015/07/09/jrubyjar-improvements.html</id>
<id>http://jruby-gradle.org/news/2015/07/09/jrubyjar-improvements/</id>
<title></title>
<updated>2015-07-20T16:21:55-07:00</updated>
<published>2015-07-09T00:00:00+00:00</published>
<link href='http://jruby-gradle.org/news/2015/07/09/jrubyjar-improvements.html' rel='alternate' type='text/html'>
<link href='http://jruby-gradle.org/news/2015/07/09/jrubyjar-improvements/' rel='alternate' type='text/html'>
<summary>
Improvements to jar packaging
@ -32,11 +32,11 @@ Hello
</content>
</entry>
<entry>
<id>http://jruby-gradle.org/news/2015/07/08/new-jruby-default.html</id>
<id>http://jruby-gradle.org/news/2015/07/08/new-jruby-default/</id>
<title></title>
<updated>2015-07-20T16:21:55-07:00</updated>
<published>2015-07-08T00:00:00+00:00</published>
<link href='http://jruby-gradle.org/news/2015/07/08/new-jruby-default.html' rel='alternate' type='text/html'>
<link href='http://jruby-gradle.org/news/2015/07/08/new-jruby-default/' rel='alternate' type='text/html'>
<summary>
JRuby 1.7.21 now defaulted

View File

@ -1,7 +1,7 @@
<html>
<head>
<link href='stylesheets/foundation.css' rel='stylesheet'>
<link href='stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/stylesheets/foundation.css' rel='stylesheet'>
<link href='/stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/news.atom' rel='alternate' title='JRuby/Gradle News' type='application/atom+xml'>
<title>
JRuby/Gradle News
@ -14,27 +14,27 @@ JRuby/Gradle News
<div id='main_nav'>
<ul>
<li>
<a href='index.html'>
<a href='/'>
Home
</a>
</li>
<li>
<a href='docs.html'>
<a href='/docs/'>
Documentation
</a>
</li>
<li>
<a href='community.html'>
<a href='/community/'>
Community
</a>
</li>
<li>
<a href='news.html'>
<a href='/news/'>
News
</a>
</li>
<li>
<a href='download.html'>
<a href='/download/'>
Download
</a>
</li>
@ -51,7 +51,7 @@ JRuby/Gradle News
</h1>
<div class='post'>
<h1>
<a href='/news/2015/07/09/jrubyjar-improvements.html'></a>
<a href='/news/2015/07/09/jrubyjar-improvements/'></a>
</h1>
<strong>
09 July 2015
@ -69,7 +69,7 @@ JRuby/Gradle News
</div>
<div class='post'>
<h1>
<a href='/news/2015/07/08/new-jruby-default.html'></a>
<a href='/news/2015/07/08/new-jruby-default/'></a>
</h1>
<strong>
08 July 2015

View File

@ -1,133 +1,139 @@
<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>
<url>
<loc>http://jruby-gradle.org/base.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/base/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/community.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/community/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/cookbook.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/cookbook/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/docinfo.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/docinfo/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/docs.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/docs/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/download.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/download/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/errors/jrubyexec-version-conflict/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/examples/basic-topology.gradle</loc>
<lastmod>2015-07-22</lastmod>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/examples/building-wars.gradle</loc>
<lastmod>2015-07-22</lastmod>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/examples/executable-jar.gradle</loc>
<lastmod>2015-07-22</lastmod>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/examples/rspec.gradle</loc>
<lastmod>2015-07-22</lastmod>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/</loc>
<lastmod>2015-07-22</lastmod>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/jar.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/jar/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/news/2015/07/08/new-jruby-default.html</loc>
<loc>http://jruby-gradle.org/news/2015/07/08/new-jruby-default/</loc>
<lastmod>2015-07-08</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/news/2015/07/09/jrubyjar-improvements.html</loc>
<loc>http://jruby-gradle.org/news/2015/07/09/jrubyjar-improvements/</loc>
<lastmod>2015-07-09</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/news.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/news/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/plugins/base.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/plugins/base/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/plugins/jar.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/plugins/jar/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/plugins/storm.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/plugins/storm/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/plugins/war.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/plugins/war/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/start.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/start/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/storm.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/storm/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>
<url>
<loc>http://jruby-gradle.org/war.html</loc>
<lastmod>2015-07-22</lastmod>
<loc>http://jruby-gradle.org/war/</loc>
<lastmod>2015-07-31</lastmod>
<priority>0.1</priority>
<changefreq>never</changefreq>
</url>

View File

@ -1,7 +1,7 @@
<html>
<head>
<link href='stylesheets/foundation.css' rel='stylesheet'>
<link href='stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/stylesheets/foundation.css' rel='stylesheet'>
<link href='/stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/news.atom' rel='alternate' title='JRuby/Gradle News' type='application/atom+xml'>
<title>
Storm plugin
@ -14,27 +14,27 @@ Storm plugin
<div id='main_nav'>
<ul>
<li>
<a href='index.html'>
<a href='/'>
Home
</a>
</li>
<li>
<a href='docs.html'>
<a href='/docs/'>
Documentation
</a>
</li>
<li>
<a href='community.html'>
<a href='/community/'>
Community
</a>
</li>
<li>
<a href='news.html'>
<a href='/news/'>
News
</a>
</li>
<li>
<a href='download.html'>
<a href='/download/'>
Download
</a>
</li>

View File

@ -1,7 +1,7 @@
<html>
<head>
<link href='stylesheets/foundation.css' rel='stylesheet'>
<link href='stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/stylesheets/foundation.css' rel='stylesheet'>
<link href='/stylesheets/jrubygradle.css' rel='stylesheet'>
<link href='/news.atom' rel='alternate' title='JRuby/Gradle News' type='application/atom+xml'>
<title>
War plugin
@ -14,27 +14,27 @@ War plugin
<div id='main_nav'>
<ul>
<li>
<a href='index.html'>
<a href='/'>
Home
</a>
</li>
<li>
<a href='docs.html'>
<a href='/docs/'>
Documentation
</a>
</li>
<li>
<a href='community.html'>
<a href='/community/'>
Community
</a>
</li>
<li>
<a href='news.html'>
<a href='/news/'>
News
</a>
</li>
<li>
<a href='download.html'>
<a href='/download/'>
Download
</a>
</li>
@ -61,6 +61,19 @@ War plugin
<a class="image" href="https://bintray.com/jruby-gradle/plugins/jruby-gradle-war-plugin/_latestVersion"><img src="https://api.bintray.com/packages/jruby-gradle/plugins/jruby-gradle-war-plugin/images/download.svg" alt="download"></a>
</div>
</div>
<div class="admonitionblock warning">
<table>
<tr>
<td class="icon">
<i class="fa icon-warning" title="Warning"></i>
</td>
<td class="content">
This plugin is still under active development and can be considered
"alpha" quality software
</td>
</tr>
</table>
</div>
<div class="paragraph">
<p>Plugin for creating JRuby-based web archives</p>
</div>