Created
November 18, 2015 12:42
-
-
Save Opalo/86dc28deb8461a808c28 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
//misc.gradle | |
ext.someMethod = { projects -> | |
projects.each { p -> | |
println "$p.name" | |
} | |
} | |
//A build.gradle | |
apply from: 'misc.gradle' | |
task doStuff << { | |
someMethod(project) | |
someMethod(project.subprojects) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment