Skip to content

Commit 9d3663a

Browse files
committed
Try with snapshot check
1 parent 3b1a791 commit 9d3663a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

deploy.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,10 @@ signing {
5757
useInMemoryPgpKeys(signingKey, signingPassword)
5858
sign publishing.publications.maven
5959
}
60+
61+
nexusPublishing {
62+
useStaging.set(provider {
63+
def release = publishing.publications.maven
64+
release.version.endsWith("-SNAPSHOT")
65+
})
66+
}

0 commit comments

Comments
 (0)