Add a new task definition to the project. Attempting to override an existing definition with an equivalent one (i.e. with the same classname) results in a verbose log message. Attempting to override an existing definition with a different one results in a warning log message and invalidates any task
(final String taskName, final Class<?> taskClass)
source not stored for this graph (policy: none)