Plugin may have an option to skip dependency registration (make pull request with fix if not!).
And then you can add dependencies as usual:
test.dependsOn(generateCucumberReports)
or
generateCucumberReports.mustRunAfter(test)
If you can’t change plugin source code try onlyIf
https://docs.gradle.org/current/dsl/org.gradle.api.Task.html