Skip to content

Commit fed26a6

Browse files
committed
chore: make signing optional for GH package.
1 parent 8af59e9 commit fed26a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle/build-logic/src/main/kotlin/plugins/publishing.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ tasks {
151151
// For publishing kotlin native binaries
152152
withType<PublishToMavenRepository>().configureEach { mustRunAfter(withType<KotlinNativeLink>()) }
153153

154-
// withType<Sign>().configureEach { isEnabled = hasSigningKey }
154+
withType<Sign>().configureEach { onlyIf { hasSigningKey } }
155155

156156
// cyclonedxBom {
157157
// includeConfigs = listOf("runtimeClasspath")

0 commit comments

Comments
 (0)