Skip to content

Commit 3e74b08

Browse files
authored
Migrate to Sonatype Central Portal. (#51)
1 parent 9659ce0 commit 3e74b08

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
if: github.ref == 'refs/heads/main'
5252
runs-on: macos-14
5353
env:
54-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
55-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
54+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
55+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
5656

5757
steps:
5858
- uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## Unreleased
4+
5+
### Changed
6+
7+
- Kotlin 2.1.20
8+
- Migrate to Sonatype Central Portal.
9+
310
## 0.14.0
411

512
### Changed

RELEASING.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
3. Update the `README.md` with the new version.
66
4. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version).
77
5. `./gradlew publishAndReleaseToMavenCentral`
8-
6. Visit [Sonatype Nexus](https://s01.oss.sonatype.org/) to verify the release has been completed.
9-
7. `git tag -a X.Y.X -m "X.Y.Z"` (where X.Y.Z is the new version)
10-
8. Update the top-level `gradle.properties` to the next SNAPSHOT version.
11-
9. `git commit -am "Prepare next development version."`
12-
10. `git push && git push --tags`
13-
14-
If step 5 or 6 fails, drop the Sonatype repo, fix the problem, commit, and start again at step 5.
8+
6. `git tag -a X.Y.X -m "X.Y.Z"` (where X.Y.Z is the new version)
9+
7. Update the top-level `gradle.properties` to the next SNAPSHOT version.
10+
8. `git commit -am "Prepare next development version."`
11+
9. `git push && git push --tags`

build-logic/src/main/kotlin/io/github/reactivecircus/cache4k/buildlogic/convention/ConventionPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private fun Project.configureSubproject() {
105105
// configure publishing
106106
pluginManager.apply(MavenPublishPlugin::class.java)
107107
extensions.configure<MavenPublishBaseExtension> {
108-
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true)
108+
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
109109
signAllPublications()
110110
}
111111
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dokka = "2.0.0"
44
binaryCompabilityValidator = "0.17.0"
55
toolchainsResolver = "0.10.0"
66
detekt = "1.23.7"
7-
mavenPublish = "0.30.0"
7+
mavenPublish = "0.32.0"
88
coroutines = "1.10.1"
99
atomicfu = "0.27.0"
1010
lincheck = "2.26"

0 commit comments

Comments
 (0)