code: @Nonnull
      public Task getTask(@Nonnull final TaskNames pTaskName, @Nonnull final DependencyConfig pDepConfig)
      {
          return project.getTasks().getByName(pTaskName.getName(pDepConfig));
      }
docs: Convenience method for getting a specific task directly.
  
  @param pTaskName the task to get
  @param pDepConfig the dependency configuration for which the task is intended
  @return a task object