diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-05-03 14:19:19 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-05-03 14:19:19 +0200 |
commit | 6907663f07fff290e8756c2700a7f6654658cbab (patch) | |
tree | dff716e41bd70f073a55cab5adb592a04d140699 /tunnel/build.gradle.kts | |
parent | dca96a52b4580ebbc888604434dd9ff5d7d37361 (diff) |
gradle: don't encourage sticking credentials in files
We've only ever used this via environment variables, so keep it that
way.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tunnel/build.gradle.kts')
-rw-r--r-- | tunnel/build.gradle.kts | 8 |
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 } } } |