Like in
@Override
public void apply(Project project) {
project.with {
ext {
MyTask = my.company.package.MyTask
}
// ...
}
}
so when people use the plugin, they can just go:
apply plugin: 'my-plugin'
task myTask(type: MyTask)
I’m just wondering about the ramifications this might have.