Skip to content

Commit 84983eb

Browse files
chore: Fix publishing to Maven (#583)
1 parent e78904e commit 84983eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

samples/sample-app.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ android {
108108
// For locally deployed builds
109109
mavenLocal()
110110
// For snapshot builds
111-
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
111+
maven { url 'https://central.sonatype.com/repository/maven-snapshots/' }
112112
}
113113
sourceSets {
114114
main {

scripts/publish-root.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ nexusPublishing {
2828
username = ossrhUsername
2929
password = ossrhPassword
3030
version = PUBLISH_VERSION
31-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
32-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
31+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
32+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
3333
}
3434
}
3535
}

0 commit comments

Comments
 (0)