1

Use header auth with Sonatype central
Some checks failed
Build & Release / release-library (push) Failing after 1m53s

This commit is contained in:
2024-11-04 20:27:58 +01:00
parent 306ba1f81c
commit 21c8543ea4
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ publishing {
repositories {
maven {
name = "sonatype"
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
url = uri("https://central.sonatype.com/api/v1/publisher/upload")
credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "Bearer ${ findProperty('SONATYPE_TOKEN') as String }"