File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 if : github.repository == 'square/moshi' && github.ref == 'refs/heads/master' && matrix.kotlin-test-mode == 'reflect'
3232 run : ./gradlew publish
3333 env :
34- ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_USERNAME_COM_SQUAREUP }}
35- ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_PASSWORD_COM_SQUAREUP }}
34+ ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
35+ ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
3636 ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.GPG_SECRET_KEY }}
3737 ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.GPG_SECRET_PASSPHRASE }}
Original file line number Diff line number Diff line change 11Change Log
22==========
33
4+ ## Unreleased
5+
6+ * In-development snapshots are now published to the Central Portal Snapshots repository at https://central.sonatype.com/repository/maven-snapshots/ .
7+
8+
49## Version 1.15.2
510
611_ 2024-12-05_
Original file line number Diff line number Diff line change @@ -1137,7 +1137,7 @@ or Gradle:
11371137implementation(" com.squareup.moshi:moshi:1.15.2" )
11381138```
11391139
1140- Snapshots of the development version are available in [ Sonatype's ` snapshots ` repository] [ snap ] .
1140+ Snapshots of the development version are available in [ the Central Portal Snapshots repository] [ snap ] .
11411141
11421142
11431143R8 / ProGuard
@@ -1168,7 +1168,7 @@ License
11681168
11691169
11701170 [ dl ] : https://search.maven.org/classic/remote_content?g=com.squareup.moshi&a=moshi&v=LATEST
1171- [ snap ] : https://oss .sonatype.org/content/repositories/snapshots/ com/squareup/moshi /
1171+ [ snap ] : https://central .sonatype.com/repository/maven-snapshots /
11721172 [ okio ] : https://github.com/square/okio/
11731173 [ okhttp ] : https://github.com/square/okhttp/
11741174 [ gson ] : https://github.com/google/gson/
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ allprojects {
130130
131131 plugins.withId(" com.vanniktech.maven.publish.base" ) {
132132 configure<MavenPublishBaseExtension > {
133- publishToMavenCentral(SonatypeHost .S01 )
133+ publishToMavenCentral(SonatypeHost .CENTRAL_PORTAL , automaticRelease = true )
134134 signAllPublications()
135135 pom {
136136 description.set(" A modern JSON API for Android and Java" )
You can’t perform that action at this time.
0 commit comments