Package com.diffplug.gradle.spotless
Class SpotlessTaskService
- java.lang.Object
-
- com.diffplug.gradle.spotless.SpotlessTaskService
-
- All Implemented Interfaces:
AutoCloseable
,org.gradle.api.services.BuildService<org.gradle.api.services.BuildServiceParameters.None>
,OperationCompletionListener
public abstract class SpotlessTaskService extends Object implements org.gradle.api.services.BuildService<org.gradle.api.services.BuildServiceParameters.None>, 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 Detail
-
onFinish
public void onFinish(FinishEvent var1)
- Specified by:
onFinish
in interfaceOperationCompletionListener
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
-