File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,10 @@ publishing{
4545
4646mavenPublishing{
4747 publishToMavenCentral(SonatypeHost .CENTRAL_PORTAL )
48- signAllPublications()
48+
49+ // Only sign if signing is set up
50+ if (project.hasProperty(" signing.keyId" ))
51+ signAllPublications()
4952
5053 pom{
5154 name.set(" Processing Core" )
Original file line number Diff line number Diff line change @@ -33,7 +33,10 @@ dependencies{
3333
3434mavenPublishing{
3535 publishToMavenCentral(SonatypeHost .CENTRAL_PORTAL )
36- signAllPublications()
36+
37+ // Only sign if signing is set up
38+ if (project.hasProperty(" signing.keyId" ))
39+ signAllPublications()
3740
3841 pom{
3942 name.set(" Processing Language Server" )
Original file line number Diff line number Diff line change @@ -46,7 +46,10 @@ publishing{
4646
4747mavenPublishing{
4848 publishToMavenCentral(SonatypeHost .CENTRAL_PORTAL )
49- signAllPublications()
49+
50+ // Only sign if signing is set up
51+ if (project.hasProperty(" signing.keyId" ))
52+ signAllPublications()
5053
5154 pom{
5255 name.set(" Processing Pre-processor" )
You can’t perform that action at this time.
0 commit comments