The official docs are actually useful now, so refer to those for up-to-date information.
Last active
May 28, 2022 08:50
-
-
Save phit/bd3c6d156a2fa5f3b1bc15fa94b3256c to your computer and use it in GitHub Desktop.
Gradle Signing for Dummies
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
Thank you.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.