Skip to content

Commit 3c30b81

Browse files
committed
make local publishing easier by preventing signing
1 parent 3060a30 commit 3c30b81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ nexusPublishing {
176176
}
177177

178178
signing {
179+
required { !project.hasProperty('publishToMavenLocal') }
179180
def signingKey = System.env.MAVEN_CENTRAL_PGP_KEY
180181
useInMemoryPgpKeys(signingKey, "")
181182
sign publishing.publications

0 commit comments

Comments
 (0)