Provide convention naming.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
DEFAULT_SOURCESET_NAME |
|
static java.lang.String |
TERRAFORM_INIT |
Type Params | Return Type | Name and description |
---|---|---|
|
static void |
createSourceSetByConvention(org.gradle.api.Project project, java.lang.String sourceSetName) Creates a sourceset using specific conventions |
|
static java.lang.String |
sourceSetDisplayName(java.lang.String sourceSetName) Returns the default text used for a Terraform source set |
|
static java.lang.String |
taskName(java.lang.String sourceSetName, java.lang.String commandType) Provides a task name |
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() |
Creates a sourceset using specific conventions
For any sourceset other than main
, tasks will be named using a pattern such as
terraform<SourceSetName> Init
and source directories will be src/tf/<sourceSetName>
.
project
- Project Project to attache source set to.sourceSetName
- Name of Terraform source set.Returns the default text used for a Terraform source set
sourceSetName
- Name of the source setProvides a task name
sourceSetName
- Name of source set the task will be associated with.commandType
- The Terraform command that this task will wrap.