gradle-plugins icon indicating copy to clipboard operation
gradle-plugins copied to clipboard

`TaskUtils.registerNested` does not support interfaces

Open Vampire opened this issue 4 months ago • 0 comments

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.

Vampire avatar Aug 26 '25 14:08 Vampire