@groovy.transform.CompileStatic class OpenTofuModuleSourceSet extends ModuleSourceSetBase
Defines an OpenTofu module source set. @since
| Fields inherited from class | Fields |
|---|---|
class ModuleSourceSetBase |
__$stMC, __$stMC |
| Type | Name and description |
|---|---|
String |
modulePublishTaskGroupThe task group for tasks that publishes modules. |
| Constructor and description |
|---|
OpenTofuModuleSourceSet
(String name, OpenTofuExtension parent, Project tempProjectRef) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected NamedDomainObjectProvider<? extends ModuleRepository> |
getRepositoryByName(String name)Returns a repository by name. |
|
protected void |
registerWithPublishAll(Iterable<String> taskNames)Registers tasks with the relevant PublishAll task. |
|
void |
testWithAdditionalToolchains(String[] names)Additional toolchains to be used for module testing. |
|
void |
useConfiguredPluginCache()Use the plugin cache directory that is configured in the global configuration of the root project. |
|
void |
useToolchain(String name)Which toolchain to use. |
The task group for tasks that publishes modules.
Returns a repository by name.
name - Name of the module repository. Registers tasks with the relevant PublishAll task.
taskNames - Collection of publish tasksAdditional toolchains to be used for module testing.
Use the plugin cache directory that is configured in the global configuration of the root project.
Groovy Documentation