![JAR search and dependency download from the Maven repository](/logo.png)
ework.profiles.base.2023.0.1.source-code.run-script.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 Grace profile for other profiles to extend from.
description("Executes Groovy scripts in a Grace context") {
usage "grace run-script"
argument name: "Script Name(s)", description: "The paths of scripts relative to the project root"
}
try {
def arguments = ["-Pargs=${commandLine.remainingArgs.join(' ')}"]
commandLine.systemProperties.each { key, value ->
arguments << "-D${key}=$value".toString()
}
gradle."runScript"(*arguments)
} catch (Throwable e) {
console.error "Failed to execute one or more scripts", e
return false
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy