Here’s the sample code to reproduce this. https://github.com/ysb33r/SampleProjects/tree/GradleNewModel/StackoverFlowErrorWithComponent
- Just register the component type, no componenet binaries or binatry tasks.
- Have a base spec that derives from
ComponentSpec
with a method that only returns a value - Have a derived (managed) spec which is abstract and implements the method.
(Tested with Gradle 2.13)