Skip to content

Instantly share code, notes, and snippets.

@moksamedia
Created April 28, 2013 04:49
Show Gist options
  • Save moksamedia/5475925 to your computer and use it in GitHub Desktop.
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.
/*
* 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