Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
if: github.ref == 'refs/heads/main'
runs-on: macos-14
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 }}

steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## Unreleased

### Changed

- Kotlin 2.1.20
- Migrate to Sonatype Central Portal.

## 0.14.0

### Changed
Expand Down
11 changes: 4 additions & 7 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
3. Update the `README.md` with the new version.
4. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version).
5. `./gradlew publishAndReleaseToMavenCentral`
6. Visit [Sonatype Nexus](https://s01.oss.sonatype.org/) to verify the release has been completed.
7. `git tag -a X.Y.X -m "X.Y.Z"` (where X.Y.Z is the new version)
8. Update the top-level `gradle.properties` to the next SNAPSHOT version.
9. `git commit -am "Prepare next development version."`
10. `git push && git push --tags`

If step 5 or 6 fails, drop the Sonatype repo, fix the problem, commit, and start again at step 5.
6. `git tag -a X.Y.X -m "X.Y.Z"` (where X.Y.Z is the new version)
7. Update the top-level `gradle.properties` to the next SNAPSHOT version.
8. `git commit -am "Prepare next development version."`
9. `git push && git push --tags`
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private fun Project.configureSubproject() {
// configure publishing
pluginManager.apply(MavenPublishPlugin::class.java)
extensions.configure<MavenPublishBaseExtension> {
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true)
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
signAllPublications()
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dokka = "2.0.0"
binaryCompabilityValidator = "0.17.0"
toolchainsResolver = "0.10.0"
detekt = "1.23.7"
mavenPublish = "0.30.0"
mavenPublish = "0.32.0"
coroutines = "1.10.1"
atomicfu = "0.27.0"
lincheck = "2.26"
Expand Down