diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8c030e7b..15f930b4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -342,8 +342,8 @@ jobs: - run: ./gradlew publish env: - ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} - ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} + ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }} + ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }} ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_PRIVATE_KEY }} - uses: actions/download-artifact@v4 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d3ffcc57..00e3590e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,8 +31,8 @@ jobs: - run: ./gradlew publish env: - ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} - ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} + ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }} + ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }} ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_PRIVATE_KEY }} - name: Extract release notes diff --git a/CHANGELOG.md b/CHANGELOG.md index db81d2ac..0fe8ca30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ Changed: For terminal size, a platform-specific fallback exists which will attempt to still correctly report the size, but asynchronously. - Terminal theme is now always queried for an initial value regardless of whether the terminal supports sending theme changes. - Java 11 is now the minimum-supported JVM version. +- In-development snapshots of Mosaic are now published to the Central Portal Snapshots repository at https://central.sonatype.com/repository/maven-snapshots/. Fixed: - Windows now reports the terminal size correctly. Previously it reported the buffer size instead of the window size. diff --git a/README.md b/README.md index 278fd6b1..fa7c6748 100644 --- a/README.md +++ b/README.md @@ -72,14 +72,14 @@ dependencies { Documentation is available at [jakewharton.github.io/mosaic/docs/0.x/](https://jakewharton.github.io/mosaic/docs/0.x/).
-Snapshots of the development version are available in Sonatype's snapshots repository. +Snapshots of the development version are available in the Central Portal Snapshots repository.

```groovy repository { mavenCentral() maven { - url 'https://oss.sonatype.org/content/repositories/snapshots/' + url 'https://central.sonatype.com/repository/maven-snapshots/' } } dependencies { diff --git a/gradle.properties b/gradle.properties index f24f7d54..3b3b9603 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ GROUP=com.jakewharton.mosaic VERSION_NAME=0.18.0-SNAPSHOT -SONATYPE_HOST=DEFAULT +SONATYPE_HOST=CENTRAL_PORTAL SONATYPE_AUTOMATIC_RELEASE=true RELEASE_SIGNING_ENABLED=true