Define repo block
@@ -147,7 +147,10 @@ subprojects {
nexusPublishing {
repositories {
- sonatype {
+ mavenCentral {
+
+ nexusUrl = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2")
+ snapshotRepositoryUrl = uri("https://oss.sonatype.org/content/repositories/snapshots")
username = property('ossrhUsername')
password = property('ossrhPassword')
}
