Model View Closed Exception
Deprecated
The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. cpp-application, cpp-library, swift-application, swift-library, xctest) instead.
Thrown when at attempt is made to mutate a subject of a rule after the rule has completed.
This can potentially happen when a reference to the subject is retained during a rule and then used afterwards, Such as when an anonymous inner class or closure "closes over" the subject.