File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ nexusPublishing {
34
34
sonatype {
35
35
username.set(publishUser)
36
36
password.set(publishKey)
37
+
38
+ nexusUrl.set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
39
+ snapshotRepositoryUrl.set(uri(" https://central.sonatype.com/repository/maven-snapshots/" ))
37
40
}
38
41
}
39
42
}
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ publishing {
49
49
repositories {
50
50
maven {
51
51
val releasesRepoUrl = " https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2"
52
- val snapshotsRepoUrl = " https://ossrh-staging-api. central.sonatype.com/content/repositories/ snapshots"
52
+ val snapshotsRepoUrl = " https://central.sonatype.com/repository/maven- snapshots"
53
53
url = uri(if (isReleaseVersion()) releasesRepoUrl else snapshotsRepoUrl)
54
54
55
55
credentials {
You can’t perform that action at this time.
0 commit comments