summaryrefslogtreecommitdiffhomepage
path: root/tunnel/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'tunnel/build.gradle.kts')
-rw-r--r--tunnel/build.gradle.kts8
1 files changed, 2 insertions, 6 deletions
diff --git a/tunnel/build.gradle.kts b/tunnel/build.gradle.kts
index 0922d602..51ae52fe 100644
--- a/tunnel/build.gradle.kts
+++ b/tunnel/build.gradle.kts
@@ -117,12 +117,8 @@ publishing {
name = "sonatype"
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
- username = providers.gradleProperty("SONATYPE_USER")
- .orElse(providers.environmentVariable("SONATYPE_USER"))
- .orNull
- password = providers.gradleProperty("SONATYPE_PASSWORD")
- .orElse(providers.environmentVariable("SONATYPE_PASSWORD"))
- .orNull
+ username = providers.environmentVariable("SONATYPE_USER").orNull
+ password = providers.environmentVariable("SONATYPE_PASSWORD").orNull
}
}
}