Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.IConventionAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, org.gradle.util.Configurable<Task>
@Incubating public class PlayRun extends org.gradle.api.internal.ConventionTask
Task.Namer
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
PlayRun() |
Modifier and Type | Method | Description |
---|---|---|
File |
getApplicationJar() |
The Play application jar to run.
|
Set<File> |
getAssetsDirs() |
The directories of the assets for the Play application (for live reload functionality).
|
File |
getAssetsJar() |
The assets jar to run with the Play application.
|
FileCollection |
getChangingClasspath() |
The changing classpath for the Play application.
|
org.gradle.deployment.internal.DeploymentRegistry |
getDeploymentRegistry() |
|
BaseForkOptions |
getForkOptions() |
fork options for the running a Play application.
|
int |
getHttpPort() |
The HTTP port listened to by the Play application.
|
FileCollection |
getRuntimeClasspath() |
The runtime classpath for the Play application.
|
DirectoryProperty |
getWorkingDir() |
The working directory.
|
void |
run() |
|
void |
setApplicationJar(File applicationJar) |
|
void |
setAssetsDirs(Set<File> assetsDirs) |
|
void |
setAssetsJar(File assetsJar) |
|
void |
setChangingClasspath(FileCollection changingClasspath) |
|
void |
setHttpPort(int httpPort) |
|
void |
setPlayToolProvider(org.gradle.play.internal.toolchain.PlayToolProvider playToolProvider) |
|
void |
setRuntimeClasspath(FileCollection runtimeClasspath) |
conventionMapping, conventionMapping, getConventionMapping
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
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
public BaseForkOptions getForkOptions()
public void run()
@Internal public int getHttpPort()
public void setHttpPort(int httpPort)
@Internal public DirectoryProperty getWorkingDir()
@Classpath public File getApplicationJar()
public void setApplicationJar(File applicationJar)
@Classpath public File getAssetsJar()
public void setAssetsJar(File assetsJar)
@InputFiles @PathSensitive(RELATIVE) public Set<File> getAssetsDirs()
@Classpath public FileCollection getRuntimeClasspath()
public void setRuntimeClasspath(FileCollection runtimeClasspath)
@Classpath public FileCollection getChangingClasspath()
public void setChangingClasspath(FileCollection changingClasspath)
public void setPlayToolProvider(org.gradle.play.internal.toolchain.PlayToolProvider playToolProvider)
@Inject public org.gradle.deployment.internal.DeploymentRegistry getDeploymentRegistry()