public class PlayRun extends org.gradle.api.internal.ConventionTask
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, 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.
|
FileCollection |
getChangingClasspath()
The changing classpath for the Play application.
|
org.gradle.internal.fingerprint.classpath.ClasspathFingerprinter |
getClasspathFingerprinter() |
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.
|
Property<PlayPlatform> |
getPlatform() |
FileCollection |
getRuntimeClasspath()
The runtime classpath for the Play application.
|
org.gradle.process.internal.worker.WorkerProcessFactory |
getWorkerProcessFactory() |
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 |
setRuntimeClasspath(FileCollection runtimeClasspath) |
conventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileappendParallelSafeAction, 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, toStringpublic 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(value=RELATIVE) public Set<File> getAssetsDirs()
@Classpath public FileCollection getRuntimeClasspath()
public void setRuntimeClasspath(FileCollection runtimeClasspath)
@Classpath public FileCollection getChangingClasspath()
public void setChangingClasspath(FileCollection changingClasspath)
@Input public Property<PlayPlatform> getPlatform()
@Inject public org.gradle.deployment.internal.DeploymentRegistry getDeploymentRegistry()
@Inject public org.gradle.process.internal.worker.WorkerProcessFactory getWorkerProcessFactory()
@Inject public org.gradle.internal.fingerprint.classpath.ClasspathFingerprinter getClasspathFingerprinter()