Skip to content

Instantly share code, notes, and snippets.

@phit
Last active May 28, 2022 08:50
Show Gist options
  • Save phit/bd3c6d156a2fa5f3b1bc15fa94b3256c to your computer and use it in GitHub Desktop.
Save phit/bd3c6d156a2fa5f3b1bc15fa94b3256c to your computer and use it in GitHub Desktop.
Gradle Signing for Dummies
@typelogic
Copy link

Thank you, it helps a lot. I did an mv gradle.properties ~/.gradle/ to avoid accidental committment of the file and expose the hidden truth.

@tribbloid
Copy link

Is this doc a bit obsolete? I constantly got this error on the sign function:

: None of the following functions can be called with the arguments supplied: 
public open fun sign(p0: Closure<(raw) Any!>!): SignOperation! defined in org.gradle.plugins.signing.SigningExtension
public open fun sign(vararg p0: File!): SignOperation! defined in org.gradle.plugins.signing.SigningExtension
public open fun sign(vararg p0: Task!): (Mutable)List<Sign!>! defined in org.gradle.plugins.signing.SigningExtension
public open fun sign(vararg p0: Configuration!): (Mutable)List<Sign!>! defined in org.gradle.plugins.signing.SigningExtension
public open fun sign(vararg p0: PublishArtifact!): SignOperation! defined in org.gradle.plugins.signing.SigningExtension
public open fun sign(vararg p0: Publication!): (Mutable)List<Sign!>! defined in org.gradle.plugins.signing.SigningExtension
public open fun sign(p0: String!, vararg p1: File!): SignOperation! defined in org.gradle.plugins.signing.SigningExtension
public open fun sign(p0: DomainObjectCollection<Publication!>!): (Mutable)List<Sign!>! defined in org.gradle.plugins.signing.SigningExtension

@IosephKnecht
Copy link

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment