ofiles.base.7.0.0.source-code.dependency-report.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of base Show documentation
Show all versions of base Show documentation
A profile for other profiles to extend from
The newest version!
description("Prints out the Grails application's dependencies") {
usage "grails dependency-report [configuration]"
argument name: "Configuration", description: "Which source set to report on (compile, test, etc)", required: false
}
def arguments = []
commandLine.systemProperties.each { key, value ->
arguments << "-D${key}=$value".toString()
}
def command = ["dependencies"]
if (commandLine.remainingArgs.size() > 0) {
command << "--configuration ${commandLine.remainingArgs[0]}"
}
gradle."${command.join(' ')}"(*arguments)