Skip to content

Commit

Permalink
check for more specific task when signing
Browse files Browse the repository at this point in the history
  • Loading branch information
thoutbeckers authored Oct 18, 2024
1 parent 6be4927 commit c220714
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ sealed class BaseKalugaExtension(protected val versionCatalog: VersionCatalog, o
project.extensions.configure(SigningExtension::class) {
setRequired(
{
project.gradle.taskGraph.hasTask("publish") && project.signingSecretKeyRingFile != null
project.gradle.taskGraph.hasTask("publishAllPublicationsToSonatypeRepository") && project.signingSecretKeyRingFile != null
},
)
}
Expand Down

0 comments on commit c220714

Please sign in to comment.