Skip to content

Commit 8bae77a

Browse files
authored
fix: migrate to Central Portal for publishing Maven artifacts (#2011)
Part of #1953. Followed https://central.sonatype.org/pages/ossrh-eol/#publishing-to-central-portal.
1 parent e11132b commit 8bae77a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ version = "3.4.1-SNAPSHOT"
1111
nexusPublishing {
1212
repositories {
1313
sonatype {
14-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
15-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
14+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
15+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
1616
}
1717
}
1818
packageGroup.set("io.github.typesafegithub")

docs/user-guide/nightly-builds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ case, you can use snapshots published for each commit to the `main` branch.
66
To use a given "snapshot" version, e.g. `1.3.2-SNAPSHOT`, replace your scripts' preamble with:
77

88
```kotlin
9-
@file:Repository("https://s01.oss.sonatype.org/content/repositories/snapshots/")
9+
@file:Repository("https://central.sonatype.com/repository/maven-snapshots/")
1010
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:1.3.2-SNAPSHOT")
1111
```
1212

0 commit comments

Comments
 (0)