[GRADLE-286] All gradle methods and properties should work with GString Created: 29/Oct/08  Updated: 04/Jan/13  Resolved: 31/Aug/09

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 0.8

Type: Bug
Reporter: Martin Vlcek Assignee: Hans Dockter
Resolution: Fixed Votes: 1


 Description   

E.g.

  • Error: dists { jar(baseName: "${prop}-client") { ... } }
    * OK: dists { jar(baseName: "${prop}-client".toString()) { ... }

    }

Same with other archive task methods.



 Comments   
Comment by Martin Vlcek [ 29/Oct/08 ]

The description was totally destroyed:

In dists jar(baseName: "$prop") does not work while jar(baseName: "$prop".toString()) works.

Comment by Hans Dockter [ 13/Apr/09 ]

We postpone this issue to 0.7 although already in 0.6 we have or will improve this in a couple of areas. For 0.7 we will systematically check our API in regard to this issue.

Comment by Hans Dockter [ 31/Aug/09 ]

We have improved this behavior in many areas. Therefore I close this generic issue. Future issues regarding this can specifically point to area where only strings are accepted.

BTW: In general our policy is to accept any object (not just String and GString) and then use the toString method.

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