File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -529,7 +529,7 @@ publish {
529
529
530
530
publishing {
531
531
publications {
532
- create( " mavenJava" , MavenPublication ) {
532
+ mavenJava( MavenPublication ) {
533
533
artifactId = ' jsqlparser'
534
534
535
535
from components. java
@@ -584,8 +584,8 @@ publishing {
584
584
repositories {
585
585
maven {
586
586
name = " ossrh"
587
- def releasesRepoUrl = " https://oss .sonatype.org/service/local/staging/deploy/maven2/ "
588
- def snapshotsRepoUrl = " https://oss .sonatype.org/content/repositories/ snapshots/"
587
+ def releasesRepoUrl = " https://central .sonatype.com/repository/maven-releases "
588
+ def snapshotsRepoUrl = " https://central .sonatype.com/repository/maven- snapshots/"
589
589
url(version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl)
590
590
591
591
credentials {
Original file line number Diff line number Diff line change 135
135
<distributionManagement >
136
136
<repository >
137
137
<id >sonatype-nexus-staging</id >
138
- <url >https://oss .sonatype.org/service/local/staging/deploy/maven2/ </url >
138
+ <url >https://central .sonatype.com/repository/maven-releases </url >
139
139
</repository >
140
140
<snapshotRepository >
141
- <id >sonatype-nexus-snapshots</id >
142
- <url >https://oss .sonatype.org/content/repositories/ snapshots/</url >
141
+ <id >sonatype-nexus-snapshots</id >
142
+ <url >https://central .sonatype.com/repository/maven- snapshots/</url >
143
143
<releases ><enabled >false</enabled ></releases >
144
144
<snapshots ><enabled >true</enabled ></snapshots >
145
145
</snapshotRepository >
You can’t perform that action at this time.
0 commit comments