A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

addRepository(String) - Method in RubygemsServlet
addToProject(Project) - Method in JRubyExecDelegate
apply(Project) - Method in JRubyPlugin
args(Iterable<?>) - Method in JRubyExec

B

baseName(Object) - Method in GenerateGradleRb
buildArgs() - Method in JRubyExecDelegate
buildArgs creates a list of arguments to pass to the JVM
buildArgs(List<Object>, List<Object>, File, List<Object>) - Method in JRubyExecUtils
Construct the correct set of arguments based on the parameters to invoke jruby-complete.jar with

C

classpathFromConfiguration(Configuration) - Method in JRubyExecUtils
Extract a list of files from a configuration that is suitable for a jruby classpath
configuration(Object) - Method in GenerateGradleRb
configuration(String) - Method in JRubyExecTraits
conflict() - Method in GemVersion
examines the version range on conflict, i.e. lower bound bigger then upper bound.
copy() - Method in JRubyPrepare
Adds dependencies from the given configuration to be prepared
create(URL) - Method in RubygemsServlet

D

defaultVersion(String) - Method in JRubyPluginExtension
Set the default version of JRuby to be used by all JRuby/Gradle code
dependencies(Object) - Method in JRubyPrepare
destinationDir(Object) - Method in GenerateGradleRb
destinationFile() - Method in GenerateGradleRb

E

enableLogging() - Method in RubygemsServlet
exec() - Method in JRubyExec
extractGem(Project, File, File, File, OverwriteAction) - Method in GemUtils
Extracts a gem to a folder
extractGems(Project, Configuration, Configuration, File, OverwriteAction) - Method in GemUtils
Extract Gems from a given configuration.

F

firstRun() - Method in GemVersionResolver

G

gemCopySpec(Map, Project, Object) - Method in GemUtils
Adds a GEM CopySpec to an archive
gemFullNameFromFile(String) - Method in GemUtils
Take the given .gem filename (e.g. rake-10.3.2.gem) and just return the gem "full name" (e.g. rake-10.3.2)
gemInstallDir(Object) - Method in GenerateGradleRb
GemUtils - Class in com.github.jrubygradle
A collection of utilities to manipulate GEMs
GemUtils.OverwriteAction - Enum in com.github.jrubygradle
GemVersion - Class in com.github.jrubygradle.internal
since with rubygems most (almost all) dependencies will be declared via versions ranges an tools like bundler are very strict on how to resolve those versions - i.e. the reolved version needs to obey each given contraint. maven does the same but gradle and ivy do pick the latest and newest version when there are more then on contraint for the same gem - which can create problems when using bundler alongside gradle.
GemVersion(String) - Constructor in GemVersion
converts the given string to a version range with inclusive or exclusive boundaries.
GemVersionResolver - Class in com.github.jrubygradle.internal
Resolved to compute gem versions
GemVersionResolver() - Constructor in GemVersionResolver
gemWorkDir(Object) - Method in JRubyExecTraits
Set alternative GEM unpack directory to use
generate() - Method in GenerateGradleRb
GenerateGradleRb - Class in com.github.jrubygradle
Generate a LOAD_PATH Ruby file whichi is loadable by Ruby scripts when performing local manual testing.
getArgs() - Method in JRubyExec
getArgs gets overridden in order to add JRuby options, script name and script arguments in the correct order.
getBaseName() - Method in GenerateGradleRb
getComputedPATH(String) - Method in JRubyExecTraits
Return the computed `PATH` for the task
getConfiguration() - Method in GenerateGradleRb
getConfiguration() - Method in JRubyExecTraits
getDestinationDir() - Method in GenerateGradleRb
getGemInstallDir() - Method in GenerateGradleRb
getGemInstallDir() - Method in JRubyPluginExtension
Resolves the currently configured GEM installation directory.
getGems(FileCollection) - Method in GemUtils
Given a FileCollection return a filtered FileCollection only containing GEMs
getGemWorkDir() - Method in JRubyExecTraits
Returns the directory that will be used to unpack Gems into
getJarInstallDir() - Method in JRubyPluginExtension
Resolves the currently configured Jars installation directory.
getJrubyArgs() - Method in JRubyExec
Returns a list of jruby arguments
getJrubyVersion() - Method in JRubyExec
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.
getPreparedEnvironment(Map) - Method in JRubyExecTraits
getScript() - Method in JRubyExec
Script to execute.
getScript() - Method in JRubyExecDelegate
Gets the script to use.
getScriptArgs() - Method in JRubyExec
Returns a list of script arguments
getURL(String) - Method in RubygemsServlet

H

I

intersect(String) - Method in GemVersion
since GemVersion is version range with lower bound and upper bound 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.

J

jarCopySpec(Project, Object) - Method in GemUtils
// specifications/* if (!
jarDependenciesGemLibPath(File) - Method in JRubyExec
jrubyArgs(Object) - Method in JRubyExecTraits
Add arguments for jruby
JRubyExec - Class in com.github.jrubygradle
Runs a ruby script using JRuby
JRubyExec() - Constructor in JRubyExec
JRubyExecDelegate - Class in com.github.jrubygradle.internal
Authors:
Schalk W.
JRubyExecTraits - Trait in com.github.jrubygradle.internal
Provides common traits for JRuby script execution across the JRubyExec task and {@project.jrubyexec} extension.
JRubyExecUtils - Class in com.github.jrubygradle.internal
Authors:
Schalk W.
jrubyJar(FileCollection) - Method in JRubyExecUtils
Extract the jruby-complete-XXX.jar as a FileCollection
jrubyJarVersion(File) - Method in JRubyExecUtils
Extracts the JRuby version number from a jruby-complete-XXX.jar filename
jrubyJarVersionTriple(File) - Method in JRubyExecUtils
Extracts the JRuby version number as a triplet from a jruby-complete-XXX.jar filename
JRubyPlugin - Class in com.github.jrubygradle
JRubyPluginExtension - Class in com.github.jrubygradle
Class providing the jruby{} DSL extension to the Gradle build script
JRubyPluginExtension(Project) - Constructor in JRubyPluginExtension
JRubyPrepare - Class in com.github.jrubygradle
Authors:
Schalk W.
jrubyVersion(String) - Method in JRubyExec
Setting the jruby-complete version allows for tasks to be run using different versions of JRuby.

K

keyAt(Integer) - Method in JRubyExecDelegate

L

M

methodMissing(String, def) - Method in JRubyExecDelegate

N

O

outputDir(Object) - Method in JRubyPrepare
Sets the output directory

P

pathVar() - Method in JRubyExecUtils
Get the name of the system search path environmental variable
prepareDependencies(Project, OverwriteAction) - Method in JRubyExecTraits
Prepare dependencies with a custom overwrite behavior
prepareWorkingPath(File, String) - Method in JRubyExecUtils
Create a search path that includes the GEM working directory

Q

R

registerDefaultVersionCallback(Closure) - Method in JRubyPluginExtension
Register a callback to be invoked when defaultVersion is updated
registerExecVersionCallback(Closure) - Method in JRubyPluginExtension
Register a callback to be invoked when execVersion is updated
resolve(DependencyResolveDetails) - Method in GemVersionResolver
rewriteJarDependencies(File, List<File>, Map<String, String>, OverwriteAction) - Method in GemUtils
RubygemsServlet - Class in com.github.jrubygradle.internal
RubygemsServlet(URL) - Constructor in RubygemsServlet

S

script(Object) - Method in JRubyExecTraits
Set script to execute.
scriptArgs(Closure) - Method in JRubyExecTraits
Add arguments for script in a closure style
setArgs(Iterable<?>) - Method in JRubyExec
setDefaultVersion(String) - Method in JRubyPluginExtension
setExecVersion(String) - Method in JRubyPluginExtension
Change the version of jruby for jrubyexec and JRubyExec
setGemInstallDir(Object) - Method in JRubyPluginExtension
Sets the gem installation directory.
setJarInstallDir(Object) - Method in JRubyPluginExtension
Sets the jar installation directory.
setJrubyVersion(String) - Method in JRubyExec
Setting the jruby-complete version allows for tasks to be run using different versions of JRuby.
setMain(String) - Method in JRubyExec
setScript(Object) - Method in JRubyExecTraits
Set script to execute.
setup(Project) - Method in GemVersionResolver
setupJars(Configuration, File, OverwriteAction) - Method in GemUtils
setupRubygemsRelease(Project) - Method in JRubyPlugin
setupRubygemsRepositories(Project) - Method in JRubyPlugin
start() - Method in RubygemsServlet
stop() - Method in RubygemsServlet

T

toString() - Method in GemVersion
string of the underlying data as maven version range. for prereleased versions with ranges like [1.pre, 1.pre] the to range will be replaced by the single boundary of the range.
toString() - Method in GemVersionResolver

U

updateJRubyDependencies(Project) - Method in JRubyExec
Ensure that our JRuby depedencies are updated properly for the default jrubyExec configuration and all other JRubyExec tasks
updateJRubyDependenciesForConfiguration(Project, String, String) - Method in JRubyExecUtils
Update the given configuration on the project with the appropriate versions of JRuby and supplemental dependencies to execute JRuby successfully

V

validateTaskConfiguration() - Method in JRubyExec
Verify that we are in a good configuration for execution
valuesAt(Integer) - Method in JRubyExecDelegate

W

writeJarsLock(File, List<String>) - Method in GemUtils

X

Y

Z

_

_convertGemWorkDir(Project) - Method in JRubyExecTraits
_convertJrubyArgs() - Method in JRubyExecTraits
_convertScript() - Method in JRubyExecTraits
_convertScriptArgs() - Method in JRubyExecTraits
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _