Package com.diffplug.gradle.spotless
Class SpotlessTaskService
- java.lang.Object
-
- com.diffplug.gradle.spotless.SpotlessTaskService
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.gradle.api.services.BuildService<org.gradle.api.services.BuildServiceParameters.None>,OperationCompletionListener
public abstract class SpotlessTaskService extends java.lang.Object implements org.gradle.api.services.BuildService<org.gradle.api.services.BuildServiceParameters.None>, java.lang.AutoCloseable, OperationCompletionListener
Allows the check and apply tasks to coordinate with each other (and the source task) to reduce duplicated work (e.g. no need for check to run if apply already did).
-
-
Constructor Summary
Constructors Constructor Description SpotlessTaskService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidonFinish(FinishEvent var1)
-
-
-
Method Detail
-
onFinish
public void onFinish(FinishEvent var1)
- Specified by:
onFinishin interfaceOperationCompletionListener
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
-