@ Nonnull public Task getTask ( @ Nonnull final TaskNames pTaskName , @ Nonnull final DependencyConfig pDepConfig ) { return project . getTasks ( ) . getByName ( pTaskName . getName ( pDepConfig ) ) ; }
Convenience method for getting a specific task directly .