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") } } }