From b0e513da7f0e691c616caeb0302abde47fe5a9c8 Mon Sep 17 00:00:00 2001 From: James Verbus Date: Tue, 3 Sep 2024 15:20:59 -0700 Subject: [PATCH] Updated to Maven Central publish to use user token instead of username and password. --- gradle/release.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle/release.gradle b/gradle/release.gradle index 60753fd..0cb9f1d 100644 --- a/gradle/release.gradle +++ b/gradle/release.gradle @@ -31,10 +31,10 @@ tasks.named("githubRelease") { apply plugin: "io.github.gradle-nexus.publish-plugin" // https://github.com/gradle-nexus/publish-plugin/ nexusPublishing { repositories { - if (System.getenv("SONATYPE_PWD")) { + if (System.getenv("SONATYPE_TOKEN_PWD")) { sonatype { - username = System.getenv("SONATYPE_USER") - password = System.getenv("SONATYPE_PWD") + username = System.getenv("SONATYPE_TOKEN_USER") + password = System.getenv("SONATYPE_TOKEN_PWD") } } }