public class KillJavaProcess
Generic task for killing a process.
@InputFile @NotNull public java.io.File getPidFile()
The file will contain the pid of the process.
public void setPidFile(@NotNull
java.io.File value)
The file will contain the pid of the process.
@OutputFile @NotNull public java.io.File getLogOutputFile()
The file will contain the log output of the process.
public void setLogOutputFile(@NotNull
java.io.File value)
The file will contain the log output of the process.
public void providerTimeout(@NotNull
org.gradle.api.provider.Provider<java.lang.Integer> timeout)
Set provider for timeout property.
timeout - maximum time in seconds before the task will be finished with an exception.@Input public int getTimeout()
public void setTimeout(int p)
public void killProcess()
Task action starts the java process in the background.