[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:
Duplicate
Duplicates GRADLE-2417 Decorated objects cannot be used as d... Resolved

 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.


Generated at Wed Jun 30 12:19:45 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.