# sign

open fun sign(artifacts: Array<PublishArtifact>): SignOperation(source)

Registers signatures for the given artifacts.

#### Return

this

#### Since

1.0

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

Registers signatures for the given files.

#### Return

this

#### Since

1.0

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

### Deprecated

This method will be removed in Gradle 10. Use sign instead.

Registers signatures (with the given classifier) for the given files

#### Return

this

#### Since

1.0