You can leave out the Closure
overloads on objects created by Gradle, only the Action
overloads are needed there. But if you create any object yourself using new XYZ()
, they will not be enhanced.
You can leave out the Closure
overloads on objects created by Gradle, only the Action
overloads are needed there. But if you create any object yourself using new XYZ()
, they will not be enhanced.