Using the replacement API fails with: "DefaultTaskContainer#register(String, Class, Action) on task set cannot be executed in the current context."
Using the replacement API fails with: "DefaultTaskContainer#register(String, Class, Action) on task set cannot be executed in the current context."