@Incubating public class PlayRun extends org.gradle.api.internal.ConventionTask
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
PlayRun() |
Modifier and Type | Method and 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.
|
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.
|
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
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toString
public BaseForkOptions getForkOptions()
public void run()
public int getHttpPort()
public void setHttpPort(int httpPort)
public File getApplicationJar()
public void setApplicationJar(File applicationJar)
public File getAssetsJar()
public void setAssetsJar(File assetsJar)
public Set<File> getAssetsDirs()
public void setRuntimeClasspath(FileCollection runtimeClasspath)
public void setChangingClasspath(FileCollection changingClasspath)
public void setPlayToolProvider(org.gradle.play.internal.toolchain.PlayToolProvider playToolProvider)
@Inject public org.gradle.deployment.internal.DeploymentRegistry getDeploymentRegistry()