gradle-plugins
gradle-plugins copied to clipboard
`TaskUtils.registerNested` does not support interfaces
I tried to use your TaskUtils.registerNested to mitigate https://github.com/gradle/gradle/issues/6022, thanks for that.
Unfortunately it does not work, because the type in question is an interface with the annotations that is then created through Gradle.
Your logic only walks the superclasses up so it would catch an abstract superclass, but it also needs to walk the implemented interfaces.