Skip to content

Commit 97b519a

Browse files
committed
use ThisBuild/sonatypeCredentialHost
1 parent 01a42ff commit 97b519a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ For a multi-project build, you can define those settings in your root `build.sbt
7373
### Choosing the correct Sonatype host
7474
Unfortunately there's been a few changes re sonatype hosts, leading to confusion. You will need to configure the `sonatypeCredentialHost` setting according to the sonatype host your account is on. If you're unsure, you'll need to test them individually, but here's a rough guideline:
7575

76-
- `sonatypeCredentialHost := "central.sonatype.com"` - if you are on Sonatype Central
77-
- `sonatypeCredentialHost := "oss.sonatype.org"` - the sonatype legacy OSSRH host
78-
- `sonatypeCredentialHost := "s01.oss.sonatype.org"` - the sonatype legacy OSSRH host, for accounts created after February 2021
76+
- `ThisBuild/sonatypeCredentialHost := "central.sonatype.com"` - if you are on Sonatype Central
77+
- `ThisBuild/sonatypeCredentialHost := "oss.sonatype.org"` - the sonatype legacy OSSRH host
78+
- `ThisBuild/sonatypeCredentialHost := "s01.oss.sonatype.org"` - the sonatype legacy OSSRH host, for accounts created after February 2021
7979

8080
> [!NOTE] The legacy OSSRH service will sunset on June 30th, 2025, i.e. you will need to migrate to Sonatype Central after that. See https://central.sonatype.org/publish/publish-guide
8181

0 commit comments

Comments
 (0)