[GRADLE-3466] Cannot use custom Closure implementation as a project method Created: 01/Jun/16 Updated: 01/Jun/16 Resolved: 01/Jun/16 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | None |
| Fix Version/s: | 2.14-rc-4 |
| Type: | Bug | ||
| Reporter: | Adam Murdoch | Assignee: | Adam Murdoch |
| Resolution: | Fixed | Votes: | 0 |
| Known Issue Of: |
| Description |
|
For example: def cl = new Closure() {
def call(Object... args) { ... }
}
project.ext.someMethod = cl
someMethod("a", "b", "c") // fails with unknown method
This is a regression from 2.13 |