register task with injected dependencies