Created
June 23, 2009 17:17
-
-
Save robfletcher/134689 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
includeTargets << grailsScript("_GrailsInit") | |
includeTargets << grailsScript("_PluginDependencies") | |
target('default': "Prepares development environment") { | |
depends(installPlugins, installDependencies) | |
event("StatusFinal", ["Done"]) | |
} | |
target(installPlugins: "Installs all plugins") { | |
depends(resolveDependencies) | |
} | |
target(installDependencies: "Installs library dependencies via Ivy") { | |
if (metadata['plugins.ivy']) { | |
includeTargets << new File ("${ivyPluginDir}/scripts/GetDependencies.groovy") | |
depends(dependencies) | |
} else { | |
event("StatusFinal", ["The Ivy plugin is not installed"]) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment