public interface GemPrepareTask extends JRubyExecOptions, Task
Specification of a task that can prepare GEMs for usage by JRuby.
| Fields inherited from class | Fields |
|---|---|
interface Task |
TASK_NAME, TASK_DESCRIPTION, TASK_GROUP, TASK_TYPE, TASK_DEPENDS_ON, TASK_OVERWRITE, TASK_ACTION, TASK_CONSTRUCTOR_ARGS |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
forkOptions(Action<org.ysb33r.grolifant5.api.core.jvm.GrolifantSimpleSetJavaForkOptions> configurator)Configures the fork options for the task. |
|
public void |
forkOptions(groovy.lang.Closure<?> configurator)Configures the fork options for the task. |
|
public FileCollection |
getGemsAndJarsAsFileCollection() |
|
public FileCollection |
getGemsAsFileCollection()All GEMs that have been supplied as dependencies. |
|
public Provider<File> |
getOutputDir()Target directory for GEMs. |
|
public void |
setAwaitMode(Boolean aBoolean)Whether to wait for GEM installation to complete before continuing. |
|
public void |
setGemConfiguration(Configuration fc)Sets the GEM configuration to be used with this task. |
|
public void |
setGemOverwriteAction(GemOverwriteAction action) |
|
public void |
setGemOverwriteAction(String action) |
|
public void |
setOutputDir(Object f)Sets the output directory. |
| Methods inherited from class | Name |
|---|---|
interface JRubyExecOptions |
withModuleOpens, withSystemPath |
interface Task |
getName, setProperty, getLogger, getActions, getState, property, getPath, configure, setDescription, getConvention, getTemporaryDir, mustRunAfter, setMustRunAfter, getMustRunAfter, finalizedBy, setFinalizedBy, getFinalizedBy, shouldRunAfter, setShouldRunAfter, getShouldRunAfter, usesService, notCompatibleWithConfigurationCache, getGroup, setGroup, getProject, getAnt, getLogging, getTaskDependencies, getDependsOn, setDependsOn, doNotTrackState, setDidWork, onlyIf, onlyIf, onlyIf, setActions, dependsOn, setOnlyIf, setOnlyIf, setOnlyIf, getDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, getEnabled, getOutputs, getDestroyables, getLocalState, getTimeout, setEnabled, getDescription, hasProperty, getInputs, compareTo, getExtensions |
Configures the fork options for the task.
configurator - Configurator.Configures the fork options for the task.
configurator - Configurator.All GEMs that have been supplied as dependencies.
Target directory for GEMs. Extracted GEMs will end up in outputDir + "/gems".
Whether to wait for GEM installation to complete before continuing.
aBoolean - true to wait.Sets the GEM configuration to be used with this task.
fc - Provides a configuration or other collection of files that will contain GEM dependencies.Sets the output directory.
f - Output directory