File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 1- import org.gradle.plugins.signing.Sign
2-
31plugins {
42 kotlin(" multiplatform" ) version " 2.0.21"
53 kotlin(" plugin.serialization" ) version " 2.0.21"
@@ -180,15 +178,6 @@ tasks.clean {
180178 delete(" bin" )
181179}
182180
183- // Disable signing tasks when credentials are not available
184- val signingKey = System .getenv(" SIGN_KEY" )
185- val signingPassword = System .getenv(" SIGN_KEY_PASS" )
186- if (signingKey.isNullOrBlank() || signingPassword.isNullOrBlank()) {
187- tasks.withType<Sign >().configureEach {
188- enabled = false
189- }
190- }
191-
192181// generateJavaGrammarSource must run before jvmProcessResources
193182tasks.named(" jvmProcessResources" ) { dependsOn(generateJavaGrammarSource) }
194183tasks.named(" compileKotlinJvm" ) { dependsOn(generateJavaGrammarSource) }
@@ -293,3 +282,5 @@ tasks.register("koverPrintCoverageDetailed") {
293282 }
294283 }
295284}
285+
286+
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ kotlin.mpp.stability.nowarn=true
99
1010# Maven Publishing
1111# Signing is required for Maven Central but optional for local development
12- # Set to false to skip signing when publishing to mavenLocal
12+ # Signing will be enabled in CI/CD via signAllPublications() when credentials are available
1313mavenPublishing.signing.required =false
14+ signAllPublications =false
1415
You can’t perform that action at this time.
0 commit comments