[GRADLE-371] Provide a public API for implementing custom tasks Created: 26/Jan/09  Updated: 12/Feb/16  Resolved: 12/Feb/16

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Adam Murdoch Assignee: Unassigned
Resolution: Fixed Votes: 0


Currently, to implement a custom task, you have to extend DefaultTask, which is in the internal package, or implement all of the Task interface. We should provide a public API which makes it easy to implement custom tasks. For example, we could simply move DefaultTask into api.task package and document it. It might also be nice to provide a mechanism where task implementations can be simple POJOs (or POGOs) which do not implement Task, and Gradle adapts them to the Task interface.

Comment by Mark Vieira (Inactive) [ 12/Feb/16 ]

DefaultTask has since been made public.

Generated at Wed Jun 30 11:28:27 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.