Skip to content

Commit 29ebe7b

Browse files
committed
findProperty() on username/passwd
1 parent 5b071d8 commit 29ebe7b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

api/build.gradle

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ repositories {
1616
java {
1717
sourceCompatibility = JavaVersion.VERSION_11
1818
targetCompatibility = JavaVersion.VERSION_11
19+
withJavadocJar()
20+
withSourcesJar()
1921
}
2022

2123
dependencies {
@@ -119,8 +121,8 @@ publishing {
119121
maven {
120122
url = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
121123
credentials {
122-
username ossrhUsername
123-
password ossrhPassword
124+
username findProperty('ossrhUsername')
125+
password findProperty('ossrhPassword')
124126
}
125127
}
126128
}

dataregistry/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ publishing {
109109
maven {
110110
url = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
111111
credentials {
112-
username ossrhUsername
113-
password ossrhPassword
112+
username findProperty('ossrhUsername')
113+
password findProperty('ossrhPassword')
114114
}
115115
}
116116
}

0 commit comments

Comments
 (0)