Establishing task dependencies in a plugin

Okay, that’s not what I’ve done and maybe that’s the source of my problems.

If I switch to this method of task creation does anything need to change in the build script I shared above? Perhaps remove this:

task bundle(type: Bundler) {
    
}

Hey, this worked! Thanks, Rene. The key was creating the task in the plugin apply() method, not in the build script.