For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

sign

open fun sign(tasks: Array<Task>)(source)

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

Since

1.0


open fun sign(publishArtifacts: Array<PublishArtifact>)(source)

Configures the task to sign each of the given artifacts

Since

1.0


open fun sign(files: Array<File>)(source)

Configures the task to sign each of the given files

Since

1.0


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

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

Since

1.0


open fun sign(configurations: Array<Configuration>)(source)

Configures the task to sign every artifact of the given configurations

Since

1.0


open fun sign(publications: Array<Publication>)(source)

Configures the task to sign every artifact of the given publications

Since

4.8