@CacheableTask public class ExecutePackageManagerTask extends ExecuteNodeScriptTask
| Constructor and Description |
|---|
ExecutePackageManagerTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeNode() |
java.io.File |
getCacheDir() |
protected java.util.List<java.lang.String> |
getCompleteArgs() |
java.lang.String |
getLogLevel() |
java.io.File |
getNodeModulesDir() |
java.lang.String |
getRegistry() |
boolean |
isCacheConcurrent() |
boolean |
isOffline() |
boolean |
isProduction() |
boolean |
isProgress() |
boolean |
isUseNpm() |
void |
setCacheConcurrent(java.lang.Object cacheConcurrent) |
void |
setCacheDir(java.lang.Object cacheDir) |
void |
setLogLevel(java.lang.Object logLevel) |
void |
setNodeModulesDir(java.lang.Object nodeModulesDir) |
void |
setOffline(boolean offline) |
void |
setProduction(boolean production) |
void |
setProgress(boolean progress) |
void |
setRegistry(java.lang.Object registry) |
void |
setUseNpm(java.lang.Object useNpm) |
getScriptFile, setScriptFileargs, args, environment, environment, getArgs, getCommand, getEnvironment, getNodeDir, getNpmInstallRetries, getResult, getWorkingDir, isInheritProxy, isUseGradleExec, setArgs, setArgs, setCommand, setEnvironment, setInheritProxy, setNodeDir, setNpmInstallRetries, setUseGradleExec, setWorkingDircompareTo, 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, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceacceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectspublic void executeNode()
throws java.lang.Exception
executeNode in class ExecuteNodeScriptTaskjava.lang.Exception@InputDirectory @Optional @PathSensitive(value=RELATIVE) public java.io.File getCacheDir()
@Input @Optional public java.lang.String getLogLevel()
@Internal public java.io.File getNodeModulesDir()
@Input @Optional public java.lang.String getRegistry()
@Input public boolean isCacheConcurrent()
@Internal public boolean isOffline()
@Input public boolean isProduction()
@Input public boolean isProgress()
@Internal public boolean isUseNpm()
public void setCacheConcurrent(java.lang.Object cacheConcurrent)
public void setCacheDir(java.lang.Object cacheDir)
public void setLogLevel(java.lang.Object logLevel)
public void setNodeModulesDir(java.lang.Object nodeModulesDir)
public void setOffline(boolean offline)
public void setProduction(boolean production)
public void setProgress(boolean progress)
public void setRegistry(java.lang.Object registry)
public void setUseNpm(java.lang.Object useNpm)
@Internal protected java.util.List<java.lang.String> getCompleteArgs()
getCompleteArgs in class ExecuteNodeScriptTask