api / org.gradle.plugins.signing.signatory / SignatoryProvider

SignatoryProvider

interface SignatoryProvider<T : Signatory>

Provides implementations of signatory implementations for a project.

Parameters

- The specific Signatory subtype

Functions

configure

abstract fun configure(settings: SigningExtension, closure: Closure<Any>): Unit

Evaluates the given DSL-containing-closure as signatory configuration.

getDefaultSignatory

abstract fun getDefaultSignatory(project: Project): T

Attempts to create a signatory for the project that will be used everywhere something is to be signed and an explicit signatory has not been set (for the task/operation).

This may be called multiple times and the implementor is free to return a different instance if the project state has changed in someway that influences the default signatory.

getSignatory

abstract fun getSignatory(name: String): T

Retrieves the signatory with the given name.

Inheritors

PgpSignatoryProvider

open class PgpSignatoryProvider : SignatoryProvider<PgpSignatory>

A SignatoryProvider of PgpSignatory instances.