Package org.siouan.frontendgradleplugin
Class FrontendGradlePlugin
- java.lang.Object
-
- org.siouan.frontendgradleplugin.FrontendGradlePlugin
-
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
public class FrontendGradlePlugin extends java.lang.Object implements org.gradle.api.Plugin<org.gradle.api.Project>Main plugin class that bootstraps the plugin by declaring its DSL and its tasks.- The plugin applies the Gradle Base plugin, to attach its tasks to the Gradle lifecyle task.
- Tasks are registered lazily thanks to the use of the configuration avoidance API.
- Task properties are mapped the plugin extension (DSL) using the lazy configuration API, allowing there calculation is delayed until it is required.
- See Also:
- Task configuration avoidance, Lazy configuration
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringASSEMBLE_TASK_NAMEName of the task that assembles the frontend.static java.lang.StringCHECK_TASK_NAMEName of the task that checks the frontend.static java.lang.StringCLEAN_TASK_NAMEName of the task that cleans the frontend.static java.lang.StringDEFAULT_NODE_INSTALL_DIRNAMEName of the task that installs a Node distribution.static java.lang.StringDEFAULT_YARN_INSTALL_DIRNAMEName of the task that installs a Yarn distribution.static java.lang.StringGRADLE_ASSEMBLE_TASK_NAMEstatic java.lang.StringGRADLE_CHECK_TASK_NAMEstatic java.lang.StringGRADLE_CLEAN_TASK_NAMEstatic java.lang.StringINSTALL_TASK_NAMEName of the task that installs frontend dependencies.static java.lang.StringMAVEN_GENERAL_PUBLISH_TASK_NAMEstatic java.lang.StringNODE_INSTALL_TASK_NAMEName of the task that installs a Node distribution.static java.lang.StringPUBLISH_TASK_NAMEName of the task that publishes the frontend.static java.lang.StringYARN_INSTALL_TASK_NAMEName of the task that installs a Yarn distribution.
-
Constructor Summary
Constructors Constructor Description FrontendGradlePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.gradle.api.Project project)
-
-
-
Field Detail
-
ASSEMBLE_TASK_NAME
public static final java.lang.String ASSEMBLE_TASK_NAME
Name of the task that assembles the frontend.- See Also:
- Constant Field Values
-
CHECK_TASK_NAME
public static final java.lang.String CHECK_TASK_NAME
Name of the task that checks the frontend.- See Also:
- Constant Field Values
-
CLEAN_TASK_NAME
public static final java.lang.String CLEAN_TASK_NAME
Name of the task that cleans the frontend.- See Also:
- Constant Field Values
-
PUBLISH_TASK_NAME
public static final java.lang.String PUBLISH_TASK_NAME
Name of the task that publishes the frontend.- See Also:
- Constant Field Values
-
DEFAULT_NODE_INSTALL_DIRNAME
public static final java.lang.String DEFAULT_NODE_INSTALL_DIRNAME
Name of the task that installs a Node distribution.- See Also:
- Constant Field Values
-
DEFAULT_YARN_INSTALL_DIRNAME
public static final java.lang.String DEFAULT_YARN_INSTALL_DIRNAME
Name of the task that installs a Yarn distribution.- See Also:
- Constant Field Values
-
INSTALL_TASK_NAME
public static final java.lang.String INSTALL_TASK_NAME
Name of the task that installs frontend dependencies.- See Also:
- Constant Field Values
-
NODE_INSTALL_TASK_NAME
public static final java.lang.String NODE_INSTALL_TASK_NAME
Name of the task that installs a Node distribution.- See Also:
- Constant Field Values
-
YARN_INSTALL_TASK_NAME
public static final java.lang.String YARN_INSTALL_TASK_NAME
Name of the task that installs a Yarn distribution.- See Also:
- Constant Field Values
-
GRADLE_ASSEMBLE_TASK_NAME
public static final java.lang.String GRADLE_ASSEMBLE_TASK_NAME
- See Also:
- Constant Field Values
-
GRADLE_CHECK_TASK_NAME
public static final java.lang.String GRADLE_CHECK_TASK_NAME
- See Also:
- Constant Field Values
-
GRADLE_CLEAN_TASK_NAME
public static final java.lang.String GRADLE_CLEAN_TASK_NAME
- See Also:
- Constant Field Values
-
MAVEN_GENERAL_PUBLISH_TASK_NAME
public static final java.lang.String MAVEN_GENERAL_PUBLISH_TASK_NAME
- See Also:
- Constant Field Values
-
-