@groovy.transform.CompileStatic class SyncProjectToNvmRc extends DefaultTask
Synchronised the Node version to .nvmrc.
This task can only execute if there is no synchronisation from .nvmrc back to the project
and if the version has been explicitly set.
The task is explicitly linked at the project-level NodeJSExtension.
| Fields inherited from class | Fields |
|---|---|
class DefaultTask |
TASK_NAME, TASK_DESCRIPTION, TASK_GROUP, TASK_TYPE, TASK_DEPENDS_ON, TASK_OVERWRITE, TASK_ACTION, TASK_CONSTRUCTOR_ARGS |
| Constructor and description |
|---|
SyncProjectToNvmRc
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
exec() |