You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
asodja
changed the title
Handle Property/ConfigurableFileCollection with Groovy in BeanDynamicObject when only getter exist
Handle Property/ConfigurableFileCollection with Groovy in BeanDynamicObject when only getter exists
Jul 12, 2023
…edDomainObjectContainer
When NamedDomainObjectContainer is used, then Groovy lazy property assignment cannot be used, since we don't handle `Property` types in `BeanDynamicObject` when a property has only getter.
Fixes#25732
Co-authored-by: Anže Sodja <asodja@gradle.com>
It seems it some cases we don't handle
Property
type correctly. See a reproducer:#25718
We should probably do a better job when only getter exists. See the code here:
gradle/subprojects/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java
Lines 370 to 375 in e1c436f
The text was updated successfully, but these errors were encountered: