Skip to content

Commit

Permalink
Use Sonatype's s01 repository
Browse files Browse the repository at this point in the history
  • Loading branch information
BoD committed Jun 14, 2022
1 parent 59de718 commit baed52a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Join the community](https://img.shields.io/discourse/status?label=Join%20the%20community&server=https%3A%2F%2Fcommunity.apollographql.com)](http://community.apollographql.com/new-topic?category=Help&tags=mobile,client)
[![CI](https://github.com/apollographql/apollo-android/workflows/CI/badge.svg)](https://github.com/apollographql/apollo-android/actions)
[![Maven Central](https://img.shields.io/maven-central/v/com.apollographql.apollo/apollo-api)](https://repo1.maven.org/maven2/com/apollographql/apollo/)
[![OSS Snapshots](https://img.shields.io/nexus/s/com.apollographql.apollo/apollo-api?server=https%3A%2F%2Foss.sonatype.org&label=oss-snapshots)](https://oss.sonatype.org/content/repositories/snapshots/com/apollographql/apollo/)
[![OSS Snapshots](https://img.shields.io/nexus/s/com.apollographql.apollo/apollo-api?server=https%3A%2F%2Fs01.oss.sonatype.org&label=oss-snapshots)](https://oss.sonatype.org/content/repositories/snapshots/com/apollographql/apollo/)

> **Apollo Android 3 is available in alpha.** It is still in active development, and we'd love for folks to test it out. [See the v3 documentation](https://www.apollographql.com/docs/android/v3) and please [report any issues](https://github.com/apollographql/apollo-android/issues/new/choose)!
Expand Down Expand Up @@ -90,7 +90,7 @@ Latest development changes are available in Sonatype's snapshots repository:
```kotlin:title=build.gradle.kts
repositories {
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}
}
```
Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ fun Project.configurePublishing() {

maven {
name = "ossSnapshots"
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
credentials {
username = System.getenv("SONATYPE_NEXUS_USERNAME")
password = System.getenv("SONATYPE_NEXUS_PASSWORD")
Expand All @@ -220,7 +220,7 @@ fun Project.configurePublishing() {

maven {
name = "ossStaging"
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = System.getenv("SONATYPE_NEXUS_USERNAME")
password = System.getenv("SONATYPE_NEXUS_PASSWORD")
Expand Down Expand Up @@ -325,7 +325,7 @@ tasks.register("sonatypeCloseAndReleaseRepository") {
com.vanniktech.maven.publish.nexus.Nexus(
username = System.getenv("SONATYPE_NEXUS_USERNAME"),
password = System.getenv("SONATYPE_NEXUS_PASSWORD"),
baseUrl = "https://oss.sonatype.org/service/local/",
baseUrl = "https://s01.oss.sonatype.org/service/local/",
groupId = "com.apollographql"
).closeAndReleaseRepository()
}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Latest development changes are available in Sonatype's snapshots repository:
```kotlin title="build.gradle.kts"
repositories {
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
# Gradle Plugin Portal
./gradlew :apollo-gradle-plugin:publishPlugins -Pgradle.publish.key="$GRADLE_PUBLISH_KEY" -Pgradle.publish.secret="$GRADLE_PUBLISH_SECRET"

# MavenCentral (go to https://oss.sonatype.org/ to close and release the repository after this is run)
# MavenCentral (go to https://s01.oss.sonatype.org/ to close and release the repository after this is run)
./gradlew publishAllPublicationsToOssStagingRepository
./gradlew sonatypeCloseAndReleaseRepository

0 comments on commit baed52a

Please sign in to comment.