mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 07:29:22 +08:00
Migrate to Sonatype Central Portal (#1958)
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
if: github.repository == 'square/moshi' && github.ref == 'refs/heads/master' && matrix.kotlin-test-mode == 'reflect'
|
||||
run: ./gradlew publish
|
||||
env:
|
||||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME_COM_SQUAREUP }}
|
||||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD_COM_SQUAREUP }}
|
||||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
|
||||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
|
||||
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SECRET_KEY }}
|
||||
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_SECRET_PASSPHRASE }}
|
||||
|
@@ -1,6 +1,11 @@
|
||||
Change Log
|
||||
==========
|
||||
|
||||
## Unreleased
|
||||
|
||||
* In-development snapshots are now published to the Central Portal Snapshots repository at https://central.sonatype.com/repository/maven-snapshots/.
|
||||
|
||||
|
||||
## Version 1.15.2
|
||||
|
||||
_2024-12-05_
|
||||
|
@@ -1137,7 +1137,7 @@ or Gradle:
|
||||
implementation("com.squareup.moshi:moshi:1.15.2")
|
||||
```
|
||||
|
||||
Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].
|
||||
Snapshots of the development version are available in [the Central Portal Snapshots repository][snap].
|
||||
|
||||
|
||||
R8 / ProGuard
|
||||
@@ -1168,7 +1168,7 @@ License
|
||||
|
||||
|
||||
[dl]: https://search.maven.org/classic/remote_content?g=com.squareup.moshi&a=moshi&v=LATEST
|
||||
[snap]: https://oss.sonatype.org/content/repositories/snapshots/com/squareup/moshi/
|
||||
[snap]: https://central.sonatype.com/repository/maven-snapshots/
|
||||
[okio]: https://github.com/square/okio/
|
||||
[okhttp]: https://github.com/square/okhttp/
|
||||
[gson]: https://github.com/google/gson/
|
||||
|
@@ -130,7 +130,7 @@ allprojects {
|
||||
|
||||
plugins.withId("com.vanniktech.maven.publish.base") {
|
||||
configure<MavenPublishBaseExtension> {
|
||||
publishToMavenCentral(SonatypeHost.S01)
|
||||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
|
||||
signAllPublications()
|
||||
pom {
|
||||
description.set("A modern JSON API for Android and Java")
|
||||
|
Reference in New Issue
Block a user