JavaScript is disabled on your browser.
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
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
add(RelativePath)
- Method in
JRubyDirInfo
addEmbeddedDependencies(Configuration)
- Method in
JRubyJar
Add the necessary JRuby dependencies to the specified
org.gradle.api.artifacts.Configuration
addJRubyDependency()
- Method in
JRubyJar
Adds our jruby-complete to a custom configuration only so it can be safely unzipped later when we build the jar
apply(Project)
- Method in
JRubyJarPlugin
applyConfig()
- Method in
JRubyJar
B
C
canTransformResource(FileTreeElement)
- Method in
JRubyDirInfoTransformer
Register the relative path of the
element
that will be jarred.
checkJRubyVersions(Project)
- Method in
JRubyJarPlugin
Check our configured jruby versions to see if any of them are old enough to cause problems with a packed jar
copyTo(File)
- Method in
JRubyJarCopyAction.ArchiveFileTreeElement
createCopyAction()
- Method in
JRubyJar
', 'gems/**', 'jars/**', 'bin/**', 'Jars.lock' } }
customConfigName
- Field in
JRubyJar
D
defaultMainClass()
- Method in
JRubyJar
Makes the executable by adding a default main class
defaults(String)
- Method in
JRubyJar
Sets the defaults.
deleteTempDirectory(File)
- Method in
JRubyDirInfoTransformer
Recursively delete the given java.io.File
E
embeddedJRubyMainsVersion
- Field in
JRubyJar
embeddedJRubyVersion
- Field in
JRubyJar
execute(CopyActionProcessingStream)
- Method in
JRubyJarCopyAction
extractingMainClass()
- Method in
JRubyJar
Makes the executable by adding a default main class which extracts the jar to temporary directory
F
G
getConfiguration()
- Method in
JRubyJar
@return String representing the name of the
Configuration
which will be used by this task
getFile()
- Method in
JRubyJarCopyAction.ArchiveFileTreeElement
getGemDir()
- Method in
JRubyJar
@return Directory that the dependencies for this project will be staged into
getInternalCompressor()
- Method in
JRubyJar
getJrubyMainsVersion()
- Method in
JRubyJar
Retrieve the version of
jruby-mains
configured for this JRubyJar
getJrubyVersion()
- Method in
JRubyJar
Return the project default unless set
getLastModified()
- Method in
JRubyJarCopyAction.ArchiveFileTreeElement
getMainClass()
- Method in
JRubyJar
@return configured 'Main-Class' attribute for the JRubyJar
getMode()
- Method in
JRubyJarCopyAction.ArchiveFileTreeElement
getName()
- Method in
JRubyJarCopyAction.ArchiveFileTreeElement
getParent()
- Method in
JRubyJarCopyAction.RelativeArchivePath
getPath()
- Method in
JRubyJarCopyAction.ArchiveFileTreeElement
getRelativePath()
- Method in
JRubyJarCopyAction.ArchiveFileTreeElement
getSize()
- Method in
JRubyJarCopyAction.ArchiveFileTreeElement
H
hasTransformedResource()
- Method in
JRubyDirInfoTransformer
Confirm that we've done some work so our
modifyOutputStream
is called
I
info
- Field in
JRubyDirInfoTransformer
initScript(Object)
- Method in
JRubyJar
isClassFile()
- Method in
JRubyJarCopyAction.ArchiveFileTreeElement
isClassFile()
- Method in
JRubyJarCopyAction.RelativeArchivePath
isDirectory()
- Method in
JRubyJarCopyAction.ArchiveFileTreeElement
isJRubyVersionDeprecated(String)
- Method in
JRubyJarPlugin
Determine whether the version of the JRuby provided is deprecated as far as the jar plugin is concerned.
J
jarConfiguration
- Field in
JRubyJar
jarMainClass
- Field in
JRubyJar
JRubyDirInfo
- Class in
com.github.jrubygradle.jar.internal
JRubyDirInfo is responsible for generation of .jrubydir files.
JRubyDirInfo(File)
- Constructor in
JRubyDirInfo
JRubyDirInfoTransformer
- Class in
com.github.jrubygradle.jar.internal
JRubyDirInfoTransformer implements a com.github.jengelman.gradle.plugins.shadow.transformers.Transformer interface.
JRubyDirInfoTransformer()
- Constructor in
JRubyDirInfoTransformer
JRubyJar
- Class in
com.github.jrubygradle.jar
JRubyJar creates a Java ARchive with Ruby code packed inside of it.
JRubyJar.Type
- Enum in
com.github.jrubygradle.jar
JRubyJar()
- Constructor in
JRubyJar
JRubyJarCopyAction
- Class in
com.github.jrubygradle.jar.internal
JRubyJarCopyAction is an implementation of the org.gradle.api.internal.file.copy.CopyAction interface for mutating the JRubyJar archive.
JRubyJarCopyAction.ArchiveFileTreeElement
- Class in
com.github.jrubygradle.jar.internal
JRubyJarCopyAction.ArchiveFileTreeElement(RelativeArchivePath)
- Constructor in
JRubyJarCopyAction.ArchiveFileTreeElement
JRubyJarCopyAction.RelativeArchivePath
- Class in
com.github.jrubygradle.jar.internal
JRubyJarCopyAction.RelativeArchivePath(ZipEntry, FileCopyDetails)
- Constructor in
JRubyJarCopyAction.RelativeArchivePath
JRubyJarCopyAction.StreamAction
- Class in
com.github.jrubygradle.jar.internal
JRubyJarCopyAction.StreamAction(ZipOutputStream, List<Transformer>, List<Relocator>, PatternSet)
- Constructor in
JRubyJarCopyAction.StreamAction
JRubyJarCopyAction(File, ZipCompressor, DocumentationRegistry, List<Transformer>, List<Relocator>, PatternSet)
- Constructor in
JRubyJarCopyAction
JRubyJarPlugin
- Class in
com.github.jrubygradle.jar
Authors:
Schalk W.
jrubyMainsVersion(String)
- Method in
JRubyJar
Set the version of
jruby-mains
to embed into the JRubyJar
jrubyVersion(String)
- Method in
JRubyJar
Set a custom version of JRuby to embed within the JRubyJar.
K
L
library()
- Method in
JRubyJar
M
mainClass(String)
- Method in
JRubyJar
Makes the JAR executable by setting a custom main class
modifyOutputStream(ZipOutputStream)
- Method in
JRubyDirInfoTransformer
Process the output stream and add our .jrubydir entries.
N
O
open()
- Method in
JRubyJarCopyAction.ArchiveFileTreeElement
P
prepareTask
- Field in
JRubyJar
process(File)
- Method in
JRubyDirInfo
processDirectory(ZipOutputStream, File)
- Method in
JRubyDirInfoTransformer
Process the directory given and ensure that all our .jrubydir files are added.
processFile(FileCopyDetailsInternal)
- Method in
JRubyJarCopyAction.StreamAction
Q
R
runnable()
- Method in
JRubyJar
S
scriptName
- Field in
JRubyJar
setConfiguration(Configuration)
- Method in
JRubyJar
@param newConfiguration
Configuration
object to use for embedding dependencies
T
tmpDir
- Field in
JRubyDirInfoTransformer
toFile(File, String)
- Method in
JRubyDirInfo
transform(String, InputStream, List<Relocator>)
- Method in
JRubyDirInfoTransformer
No-op since we don't transform the actual file
U
updateStageDirectory()
- Method in
JRubyJar
Update the staging directory and tasks responsible for setting it up
updateTestTask(Project)
- Method in
JRubyJarPlugin
V
W
X
Y
Z
_
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
_
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
Groovy Documentation