Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
includeTargets << grailsScript("_GrailsInit")
includeTargets << grailsScript("_PluginDependencies")
target('default': "Prepares development environment") {
depends(installPlugins, installDependencies)
event("StatusFinal", ["Done"])
target(installPlugins: "Installs all plugins") {
target(installDependencies: "Installs library dependencies via Ivy") {
if (metadata['plugins.ivy']) {
includeTargets << new File ("${ivyPluginDir}/scripts/GetDependencies.groovy")
} 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