Skip to content

Commit f564953

Browse files
authored
Migrate to Sonatype Central Portal (#391)
1 parent 0c5cd98 commit f564953

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
- run: ./gradlew publish
2929
if: ${{ github.ref == 'refs/heads/trunk' && github.repository == 'cashapp/turbine' }}
3030
env:
31-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME_APP_CASH }}
32-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD_APP_CASH }}
31+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
32+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
3333
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SECRET_KEY }}
3434
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_SECRET_PASSPHRASE }}
3535

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121

2222
- name: Build and publish artifacts
2323
env:
24-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME_APP_CASH }}
25-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD_APP_CASH }}
24+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
25+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
2626
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SECRET_KEY }}
2727
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_SECRET_PASSPHRASE }}
2828
run: ./gradlew dokkaGenerate publish

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- Nothing yet!
88

99
### Changed
10-
- Nothing yet!
10+
- In-development snapshots are now published to the Central Portal Snapshots repository at https://central.sonatype.com/repository/maven-snapshots/.
1111

1212
### Fixed
1313
- Calling `testIn` with a `CoroutineScope` that does not contain a `Job` no longer throws `IllegalStateException`.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ dependencies {
2727
```
2828

2929
<details>
30-
<summary>Snapshots of the development version are available in Sonatype's snapshots repository.</summary>
30+
<summary>Snapshots of the development version are available in the Central Portal Snapshots repository.</summary>
3131
<p>
3232

3333
```kotlin
3434
repositories {
3535
maven {
36-
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
36+
url = uri("https://central.sonatype.com/repository/maven-snapshots/")
3737
}
3838
}
3939
dependencies {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ POM_ARTIFACT_ID=turbine
55
VERSION_NAME=1.3.0-SNAPSHOT
66

77
SONATYPE_AUTOMATIC_RELEASE=true
8-
SONATYPE_HOST=DEFAULT
8+
SONATYPE_HOST=CENTRAL_PORTAL
99
RELEASE_SIGNING_ENABLED=true
1010

1111
POM_NAME=Turbine

0 commit comments

Comments
 (0)