set Required
Whether this task should fail if no signatory or signature type are configured at generation time.
Since
4.0
Whether this task should fail if no signatory or signature type are configured at generation time. If required
is a Callable, it will be stored and "called" on demand (i.e. when isRequired is called) and the return value will be interpreting according to the Groovy Truth. For example:
signing {
required = { gradle.taskGraph.hasTask("publish") }
}
Content copied to clipboard
signing {
required = false
}
Content copied to clipboard