diff --git a/devices/build.gradle.kts b/devices/build.gradle.kts index c7af8c3..4929404 100644 --- a/devices/build.gradle.kts +++ b/devices/build.gradle.kts @@ -44,7 +44,7 @@ val signingKey: String? by project val signingPassword: String? by project signing { - isRequired = gradle.taskGraph.allTasks.any { it is PublishToMavenRepository } + isRequired = false useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword) sign(publishing.publications) } diff --git a/events/build.gradle.kts b/events/build.gradle.kts index ae24e48..f854d12 100644 --- a/events/build.gradle.kts +++ b/events/build.gradle.kts @@ -44,7 +44,7 @@ val signingKey: String? by project val signingPassword: String? by project signing { - isRequired = gradle.taskGraph.allTasks.any { it is PublishToMavenRepository } + isRequired = false useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword) sign(publishing.publications) }