[GRADLE-970] Allow @Input on "complex type" attributes Created: 09/Jun/10  Updated: 12/Feb/16  Resolved: 12/Feb/16

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 0.9-rc-1

Type: Improvement
Reporter: Steve Ebersole Assignee: Unassigned
Resolution: Fixed Votes: 0


 Description   

My specific experience was with custom beans being used as the type of an attribute marked as @Input. The belief is any "complex type" will cause the same issue.

An example can be found in the jDocBook plugin code. One such example is the getFormat() method in the RenderTask ( http://github.com/gradle/gradle-jdocbook/blob/master/src/main/groovy/org/jboss/gradle/plugins/jdocbook/RenderTask.java ). You can see how I needed to "flatten" out the bean attributes in order to get it working.



 Comments   
Comment by Hans Dockter [ 25/Jun/10 ]

@Adam Not sure whether this is 0.9 or not.

Comment by Mark Vieira (Inactive) [ 12/Feb/16 ]

This was resolved by https://github.com/gradle/gradle/commit/7844f4ad5bc88ea8fcfc4d5a700fd59972c2e47d

Generated at Wed Jun 30 11:43:33 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.