@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 |
---|---|---|
java.io.File |
getApplicationJar() |
The Play application jar to run.
|
java.util.Set<java.io.File> |
getAssetsDirs() |
The directories of the assets for the Play application (for live reload functionality).
|
java.io.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(java.io.File applicationJar) |
|
void |
setAssetsDirs(java.util.Set<java.io.File> assetsDirs) |
|
void |
setAssetsJar(java.io.File assetsJar) |
|
void |
setChangingClasspath(FileCollection changingClasspath) |
|
void |
setHttpPort(int httpPort) |
|
void |
setPlayToolProvider(org.gradle.play.internal.toolchain.PlayToolProvider playToolProvider) |
|
void |
setRuntimeClasspath(FileCollection runtimeClasspath) |
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
conventionMapping, conventionMapping, getConventionMapping
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
public BaseForkOptions getForkOptions()
public void run()
@Internal public int getHttpPort()
public void setHttpPort(int httpPort)
@Internal public DirectoryProperty getWorkingDir()
@Classpath public java.io.File getApplicationJar()
public void setApplicationJar(java.io.File applicationJar)
@Classpath public java.io.File getAssetsJar()
public void setAssetsJar(java.io.File assetsJar)
@InputFiles @PathSensitive(RELATIVE) public java.util.Set<java.io.File> getAssetsDirs()
public void setAssetsDirs(java.util.Set<java.io.File> assetsDirs)
@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()