diff --git a/RELEASING.md b/RELEASING.md index ba05bae4..bccf973b 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -12,8 +12,8 @@ 5. Someone with the necessary permissions publishes the repo: - `./gradlew clean publish` - - Visit [Sonatype Nexus](https://oss.sonatype.org/) and promote the artifact. -If this step fails: drop the Sonatype repo, fix the problem, commit, and start again. + - Visit [Sonatype Central](https://central.sonatype.com/publishing), wait for the "pending" artifacts to become validated, and finally publish the artifacts. +If this step fails: drop the deployment, fix the problem, commit, and start again. Visit [Maven Central Repository Search](https://search.maven.org/search?q=magellan) to verify the artifact is live. Note that it may take a few hours. 6. Visit [the GitHub releases page](https://github.com/wealthfront/magellan/releases) and create a new release, copying the changelog from CHANGELOG.md. diff --git a/gradle.properties b/gradle.properties index bc7b7267..a4db85f4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,8 +15,8 @@ POM_LICENCE_DIST=repo POM_DEVELOPER_ID=wealthfront POM_DEVELOPER_NAME=Wealthfront, Inc. -RELEASE_REPOSITORY_URL=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -SNAPSHOT_REPOSITORY_URL=https://oss.sonatype.org/content/repositories/snapshots/ +RELEASE_REPOSITORY_URL=https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/ +SNAPSHOT_REPOSITORY_URL=https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/ android.useAndroidX=true android.enableJetifier=true diff --git a/gradle/gradle-mvn-push.gradle b/gradle/gradle-mvn-push.gradle index 91d1d6d9..63a96068 100644 --- a/gradle/gradle-mvn-push.gradle +++ b/gradle/gradle-mvn-push.gradle @@ -16,12 +16,12 @@ def isReleaseBuild() { def getReleaseRepositoryUrl() { return hasProperty('RELEASE_REPOSITORY_URL') ? RELEASE_REPOSITORY_URL - : "https://oss.sonatype.org/service/local/staging/deploy/maven2/" + : "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/" } def getSnapshotRepositoryUrl() { return hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL - : "https://oss.sonatype.org/content/repositories/snapshots/" + : "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/" } def getRepositoryUsername() {