Local State
Marks a property as specifying local state for a task.
This annotation should be attached to the getter method in Java or the property in Groovy. In Kotlin, use the get: use-site target to attach it to the property getter, for example @get:LocalState. This also works on abstract properties, where the annotation without a use-site target does not compile. Annotations on setters or just the field in Java are ignored.
Local state is removed when the task is loaded from cache.
Since
4.3