Class NpmInstallTask

  • All Implemented Interfaces:
    JavaToolsTask, java.lang.Comparable<org.gradle.api.Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, org.gradle.api.plugins.ExtensionAware, org.gradle.api.Task, org.gradle.util.Configurable<org.gradle.api.Task>

    public class NpmInstallTask
    extends NodeTask
    NpmInstallTask - Run npm install.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.gradle.api.Task

        org.gradle.api.Task.Namer
    • Constructor Summary

      Constructors 
      Constructor Description
      NpmInstallTask()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterEvaluate​(org.gradle.api.Project project)
      Performs the necessary afterEvalute actions.
      void apply​(org.gradle.api.Project project)
      Performs the necessary apply actions.
      static NpmInstallTask create​(org.gradle.api.Project project)
      Creates the NpmInstallTask.
      void executeNpmInstall()
      Executes NpmInstallTask.
      • Methods inherited from class org.gradle.api.DefaultTask

        compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
      • Methods inherited from class org.gradle.api.internal.AbstractTask

        appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.gradle.api.Task

        getConvention
    • Constructor Detail

      • NpmInstallTask

        public NpmInstallTask()
    • Method Detail

      • create

        public static NpmInstallTask create​(org.gradle.api.Project project)
        Creates the NpmInstallTask.
        Parameters:
        project - the Project to create the task for.
        Returns:
        the created NpmInstallTask object.
      • apply

        public void apply​(org.gradle.api.Project project)
        Description copied from interface: JavaToolsTask
        Performs the necessary apply actions.
        Parameters:
        project - the Project running the task.
        See Also:
        Plugin.apply(Object)
      • afterEvaluate

        public void afterEvaluate​(org.gradle.api.Project project)
        Description copied from interface: JavaToolsTask
        Performs the necessary afterEvalute actions.
        Specified by:
        afterEvaluate in interface JavaToolsTask
        Overrides:
        afterEvaluate in class NodeTask
        Parameters:
        project - the Project running the task.
        See Also:
        Project.afterEvaluate(org.gradle.api.Action)
      • executeNpmInstall

        public void executeNpmInstall()
        Executes NpmInstallTask.