api / org.gradle.plugins.signing / Signature / generate

generate

open fun generate(): Unit

Generates the signature file.

In order to generate the signature, the file to sign, signatory and signature type must be known (i.e. non null).

Exceptions

InvalidUserDataException - if the there is insufficient information available to generate the signature.