@groovy.transform.CompileStatic class GemConfigurations extends Object
Creates or registers configurations that will contain GEMs.
| Modifiers | Name | Description |
|---|---|---|
class |
GemConfigurations.1 |
|
class |
GemConfigurations.2 |
|
class |
GemConfigurations.3 |
| Modifiers | Name | Description |
|---|---|---|
static String |
DEFAULT_TASK_GROUP |
|
static String |
NAME |
| Constructor and description |
|---|
GemConfigurations
(Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
<T extends GemPrepareTask> |
RegisteredGemConfiguration<T> |
register(CharSequence c, Class<T> prepareClass)Registers a configuration that will contain GEMs. |
<T extends GemPrepareTask, E extends AbstractJRubyExecTask> |
RegisteredGemConfiguration<T> |
register(CharSequence c, Class<T> prepareClass, Class<E> execClass)Registers a configuration, a prepare task and an execution task. |
<T extends GemPrepareTask, E extends AbstractJRubyExecTask> |
RegisteredGemConfiguration<T> |
register(CharSequence c, Class<T> prepareClass, Class<E> execClass, String execTaskName)Registers a configuration, a prepare task and an execution task. |
<T extends GemPrepareTask> |
RegisteredGemConfiguration<T> |
register(Configuration resolvable, Class<T> prepareClass)Registers a configuration that will contain GEMs. |
Registers a configuration that will contain GEMs. If the configuration does not exist it will be created. An associated task to prepare the GEMs will also be registered.
c - Character sequence as configuration nameprepareClass - Task type to create.Registers a configuration, a prepare task and an execution task.
If the configuration does not exist it will be created. An associated task to prepare the GEMs will also be registered. A execution task will be registered and will depend on the registered prepare task.
c - Character sequence as configuration nameprepareClass - Task type to create.execClass - Task type to create.
The created task's name will be prefixed with run and followed by the
capitalized version of name.Registers a configuration, a prepare task and an execution task.
If the configuration does not exist it will be created. An associated task to prepare the GEMs will also be registered. A execution task will be registered and will depend on the registered prepare task.
c - Character sequence as configuration nameprepareClass - Task type to create.execClass - Task type to create.execTaskName - Name of exec taskRegisters a configuration that will contain GEMs. An associated task to prepare the GEMs will also be registered.
resolvable - Configuration instance which can be resolved.prepareClass - Task type to create.