From 95ddfda3122a36f103b3f438ca34d6e0eee78702 Mon Sep 17 00:00:00 2001 From: sskorol Date: Sun, 22 May 2022 01:44:48 +0300 Subject: [PATCH] GH-126: added missing Nexus plugin credentials to correctly perform releases. --- build.gradle.kts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index eff39ce..f4c97d7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -250,7 +250,12 @@ publishing { nexusPublishing { repositories { - sonatype() + sonatype { + val osshUsername = System.getenv("OSSH_USERNAME") ?: "" + val osshPassword = System.getenv("OSSH_PASSWORD") ?: "" + username.set(osshUsername) + password.set(osshPassword) + } } }