API Documentation: | Sign |
---|
A task for creating digital signature files for one or more; tasks, files, publishable artifacts or configurations.
The task produces Signature
objects that are publishable artifacts and can be assigned to another configuration.
The signature objects are created with defaults and using this tasks signatory and signature type.
Property | Description |
signatory | The signatory to the generated signatures. |
Method | Description |
sign(files) | Configures the task to sign each of the given files |
sign(classifier, files) | Configures the task to sign each of the given artifacts, using the given classifier as the classifier for the resultant signature publish artifact. |
sign(tasks) | Configures the task to sign the archive produced for each of the given tasks (which must be archive tasks). |
sign(configurations) | Configures the task to sign every artifact of the given configurations |
sign(publishArtifacts) | Configures the task to sign each of the given artifacts |
signatory(signatory) | Changes the signatory of the signatures. |
Signatory
signatory
The signatory to the generated signatures.
void
sign
(File
...
files)
File
...Configures the task to sign each of the given files
Configures the task to sign each of the given artifacts, using the given classifier as the classifier for the resultant signature publish artifact.
void
sign
(Task
...
tasks)
Task
...Configures the task to sign the archive produced for each of the given tasks (which must be archive tasks).
void
sign
(Configuration
...
configurations)
Configuration
...Configures the task to sign every artifact of the given configurations
void
sign
(PublishArtifact
...
publishArtifacts)
PublishArtifact
...Configures the task to sign each of the given artifacts
void
signatory
(Signatory
signatory)
Changes the signatory of the signatures.