Adam
09/24/2026, 9:45 AMsigning.setRequired { <project has tasks that publish to Maven Central> }), then dev-publish also triggers signing, which fails on machines/CI without signing keys. Afaict it's not possible to disable signing per repository.
The fix I'm looking at is skipping signing when only dev-publish tasks are in the task graph then disable the sign tasks (e.g. via Sign.onlyIf {}). But I'm not sure whether this should be a default opt-out behaviour, or an opt-in behaviour.
Should dev-publish...
1. Automatically disable signing when only dev-publish tasks are requested?
2. Or just detect that signing is enabled but not configured, and warn/fail with a hint like "conditionally disable signing for local testing"?ysb33r
09/24/2026, 9:58 AMorg.ysb33r.ysf-project.sonatype.ossrh enforces signing, but the configureLocalPublishingForTesting registers a second publication.
As long as the build script is not configured to enforce signing on every publication it should be fine.
HTH.