File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ allprojects {
124124 javaLib. withoutGradleMetadata()
125125
126126 // skip signing for jitpack (snapshots)
127- tasks. withType(Sign ) { onlyIf { ! System . getenv(' JITPACK' ) } }
127+ tasks. withType(Sign ) { onlyIf { ! System . getenv(' JITPACK' ) && ! version . endsWith( ' -SNAPSHOT ' ) } }
128128}
129129
130130// all sub-modules are normal java modules, using root BOM (like maven)
@@ -218,6 +218,8 @@ check.dependsOn subprojects.check
218218nexusPublishing {
219219 repositories {
220220 sonatype {
221+ nexusUrl = uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" )
222+ snapshotRepositoryUrl = uri(" https://central.sonatype.com/repository/maven-snapshots/" )
221223 username = findProperty(' sonatypeUser' )
222224 password = findProperty(' sonatypePassword' )
223225 }
You can’t perform that action at this time.
0 commit comments