Class PlayRun
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.play.tasks.PlayRun
- All Implemented Interfaces:
Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, org.gradle.util.Configurable<Task>
Deprecated.
Task to run a Play application.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Task
Task.Namer -
Field Summary
Fields inherited from interface Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The Play application jar to run.Deprecated.The directories of the assets for the Play application (for live reload functionality).Deprecated.The assets jar to run with the Play application.Deprecated.The changing classpath for the Play application.org.gradle.deployment.internal.DeploymentRegistryDeprecated.Deprecated.fork options for the running a Play application.intDeprecated.The HTTP port listened to by the Play application.Deprecated.The runtime classpath for the Play application.Deprecated.The working directory.voidrun()Deprecated.voidsetApplicationJar(File applicationJar) Deprecated.voidsetAssetsDirs(Set<File> assetsDirs) Deprecated.voidsetAssetsJar(File assetsJar) Deprecated.voidsetChangingClasspath(FileCollection changingClasspath) Deprecated.voidsetHttpPort(int httpPort) Deprecated.voidsetPlayToolProvider(org.gradle.play.internal.toolchain.PlayToolProvider playToolProvider) Deprecated.voidsetRuntimeClasspath(FileCollection runtimeClasspath) Deprecated.Methods inherited from class org.gradle.api.internal.ConventionTask
conventionMapping, conventionMapping, getConventionMappingMethods inherited from class DefaultTask
newInputDirectory, newInputFile, newOutputDirectory, newOutputFileMethods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
-
Constructor Details
-
PlayRun
public PlayRun()Deprecated.
-
-
Method Details
-
getForkOptions
Deprecated.fork options for the running a Play application. -
run
public void run()Deprecated. -
getHttpPort
Deprecated.The HTTP port listened to by the Play application. This port should be available. The Play application will fail to start if the port is already in use.- Returns:
- HTTP port
-
setHttpPort
public void setHttpPort(int httpPort) Deprecated. -
getWorkingDir
-
getApplicationJar
-
setApplicationJar
Deprecated. -
getAssetsJar
-
setAssetsJar
Deprecated. -
getAssetsDirs
Deprecated.The directories of the assets for the Play application (for live reload functionality). -
setAssetsDirs
-
getRuntimeClasspath
Deprecated.The runtime classpath for the Play application.- Since:
- 5.0
-
setRuntimeClasspath
Deprecated. -
getChangingClasspath
Deprecated.The changing classpath for the Play application.- Since:
- 5.0
-
setChangingClasspath
Deprecated. -
setPlayToolProvider
public void setPlayToolProvider(org.gradle.play.internal.toolchain.PlayToolProvider playToolProvider) Deprecated. -
getDeploymentRegistry
@Inject public org.gradle.deployment.internal.DeploymentRegistry getDeploymentRegistry()Deprecated.
-