Created
April 28, 2013 04:49
-
-
Save moksamedia/5475925 to your computer and use it in GitHub Desktop.
Gradle: when running the eclipse task, I usually want it to run on all subprojects as well. This will make sure that happens.
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
/* | |
* Automatically triggers subprojects' eclipse task when | |
* eclipse task is run on root project | |
*/ | |
tasks.eclipse.dependsOn{ | |
subprojects { Project subproj -> | |
subproj.tasks.eclipse | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment