[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


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