gradle
8.2

# sign

open fun sign(tasks: Array<Task>)

Configures the task to sign the archive produced for each of the given tasks (which must be archive tasks).

open fun sign(publishArtifacts: Array<PublishArtifact>)

Configures the task to sign each of the given artifacts

open fun sign(files: Array<File>)

Configures the task to sign each of the given files

open fun sign(classifier: String, files: Array<File>)

Configures the task to sign each of the given artifacts, using the given classifier as the classifier for the resultant signature publish artifact.

open fun sign(configurations: Array<Configuration>)

Configures the task to sign every artifact of the given configurations

open fun sign(publications: Array<Publication>)

Configures the task to sign every artifact of the given publications