ework.profiles.base.2023.0.1.source-code.dependency-report.groovy Maven / Gradle / Ivy
description("Prints out the Grace application's dependencies") {
usage "grace dependency-report [configuration]"
argument name: "Configuration", description: "Which source set to report on (compile, test, etc)", required: false
}
deprecated("Deprecated in favor of Gradle's task: dependencies")
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)