Created
November 4, 2014 23:07
-
-
Save mark-vieira/96d75c07760609b67980 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project.extensions.create('foo', Foo) | |
foo { | |
project = ':project' | |
} | |
class Foo { | |
Project proj | |
void setProject(Project project) { | |
println "Project setter: ${project}" | |
} | |
void setProject( String project) { | |
println "String setter: ${project}" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment