From 3b94c58e024e61119119d59ed2ac74552fc5e0e8 Mon Sep 17 00:00:00 2001 From: Luca Spinazzola Date: Sun, 15 Oct 2023 22:29:16 -0400 Subject: [PATCH] update env var name --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 2e35782..f379df6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -104,8 +104,8 @@ publishing { name = "mavencentral" url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsUrl else releasesUrl) credentials { - username = System.getenv("SONATYPE_NEXUS_USERNAME") ?: properties["SONATYPE_NEXUS_USERNAME"].toString() - password = System.getenv("SONATYPE_NEXUS_PASSWORD") ?: properties["SONATYPE_NEXUS_PASSWORD"].toString() + username = System.getenv("ossrh.username") ?: properties["ossrh.username"].toString() + password = System.getenv("ossrh.password") ?: properties["ossrh.password"].toString() } } }