I'm executing a GradleBuild
task, and I'd like to maintain all the properties that the current script has been given. In other words, I want to package up "these startparameters" and pass them along to the build I'm calling.
Is there any way to do this cleanly?
If you mean project properties:
task foo(type: GradleBuild) {
startParameter.projectProperties = gradle.startParameter.projectProperties
}
If you mean system properties, replace projectProperties
with systemPropertiesArgs
(on both sides).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With