| Type | Name and description |
|---|---|
static java.util.List<java.lang.String> |
buildArgs(java.util.List<java.lang.Object> jrubyArgs, java.io.File script, java.util.List<java.lang.Object> scriptArgs) |
static java.util.List<java.lang.String> |
buildArgs(java.util.List<java.lang.Object> extra, java.util.List<java.lang.Object> jrubyArgs, java.io.File script, java.util.List<java.lang.Object> scriptArgs)Construct the correct set of arguments based on the parameters to invoke jruby-complete.jar with |
static java.util.Set |
classpathFromConfiguration(org.gradle.api.artifacts.Configuration cfg)Extract a list of files from a configuration that is suitable for a jruby classpath |
static java.io.File |
jrubyJar(org.gradle.api.artifacts.Configuration cfg)Extract the jruby-complete-XXX.jar classpath |
static org.gradle.api.file.FileCollection |
jrubyJar(org.gradle.api.file.FileCollection fc)Extract the jruby-complete-XXX.jar as a FileCollection |
static java.lang.String |
jrubyJarVersion(java.io.File jar)Extracts the JRuby version number from a jruby-complete-XXX.jar filename |
static java.util.Map |
jrubyJarVersionTriple(java.io.File jar)Extracts the JRuby version number as a triplet from a jruby-complete-XXX.jar filename |
static java.lang.String |
pathVar()Get the name of the system search path environmental variable |
static java.lang.String |
prepareWorkingPath(java.io.File gemWorkDir, java.lang.String originalPath)Create a search path that includes the GEM working directory |
static void |
updateJRubyDependenciesForConfiguration(org.gradle.api.Project project, java.lang.String configuration, java.lang.String version)Update the given configuration on the project with the appropriate versions of JRuby and supplemental dependencies to execute JRuby successfully |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Construct the correct set of arguments based on the parameters to invoke jruby-complete.jar with
Extract a list of files from a configuration that is suitable for a jruby classpath
cfg - Configuration to useExtract the jruby-complete-XXX.jar classpath
cfg - ConfigurationExtract the jruby-complete-XXX.jar as a FileCollection
cfg - FileCollectionExtracts the JRuby version number from a jruby-complete-XXX.jar filename
jar - JRuby JarExtracts the JRuby version number as a triplet from a jruby-complete-XXX.jar filename
jar - JRuby JarGet the name of the system search path environmental variable
Create a search path that includes the GEM working directory
gemWorkDir - GEM work dir instanceoriginalPath - The original platform-specific search pathUpdate the given configuration on the project with the appropriate versions of JRuby and supplemental dependencies to execute JRuby successfully