Skip to content

Commit 8946fe3

Browse files
committed
chore: Attempt2 to fix publishing
1 parent dcd25fa commit 8946fe3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,7 @@ nmcp {
105105
}
106106

107107
signing {
108-
setRequired {
109-
logger.lifecycle(">>>>> hasSigningKey : $hasSigningKey")
110-
hasSigningKey
111-
}
108+
setRequired { hasSigningKey }
112109
useInMemoryPgpKeys(signingKeyId.orNull, signingKey.orNull, signingPassword.orNull)
113110
sign(publishing.publications)
114111
// useGpgCmd()
@@ -154,7 +151,7 @@ tasks {
154151
// For publishing kotlin native binaries
155152
withType<PublishToMavenRepository>().configureEach { mustRunAfter(withType<KotlinNativeLink>()) }
156153

157-
withType<Sign>().configureEach { onlyIf { hasSigningKey } }
154+
// withType<Sign>().configureEach { onlyIf { hasSigningKey } }
158155

159156
// cyclonedxBom {
160157
// includeConfigs = listOf("runtimeClasspath")

0 commit comments

Comments
 (0)