Skip to content

Commit 992a147

Browse files
committed
Receive SONATYPE_USERNAME and PASSWORD from env
1 parent b80fbbe commit 992a147

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ version = '1.2.8'
2626
description = 'A Java library to access KeePassXC via its build-in proxy.'
2727
java.sourceCompatibility = JavaVersion.VERSION_17
2828

29+
def sonatypeUsername = localEnv.getProperty("SONATYPE_USERNAME") ?: System.getenv("SONATYPE_USERNAME")
30+
def sonatypePassword = localEnv.getProperty("SONATYPE_PASSWORD") ?: System.getenv("SONATYPE_PASSWORD")
31+
2932
java {
3033
withSourcesJar()
3134
withJavadocJar()

gradle.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,3 @@ signing.gnupg.executable=/usr/local/bin/gpg
99
signing.gnupg.homeDir=/Users/ralph/.gnupg
1010
signing.gnupg.keyName=ABC48776
1111
signing.gnupg.passphrase=
12-
13-
sonatypeUsername=
14-
sonatypePassword=

0 commit comments

Comments
 (0)