[GRADLE-2359] Cannot use propertyMissing(String) on extension in closure Created: 15/Jun/12 Updated: 04/Jan/13 Resolved: 10/Sep/12 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | 1.0 |
| Fix Version/s: | 1.2-rc-1 |
| Type: | Bug | ||
| Reporter: | Luke Daley | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Issue Links: |
|
||||||||
| Description |
dependencies {
compile someProjectExtensionWithPropertyMissingImpl.someProperty
}
In this case, propertyMissing(String)} will not be called on {{someProjectExtensionWithPropertyMissingImpl. The problem is that CompositeDynamicObject only gets actualised properties. It needs to be ammended to do something like calling getProperty() on each dynamic object before giving up. |