File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ tasks.dokkaHtml {
184
184
}
185
185
}
186
186
187
- val properties = Properties ().apply {
187
+ val localProperties = Properties ().apply {
188
188
runCatching { rootProject.file(" local.properties" ) }
189
189
.getOrNull()
190
190
.takeIf { it?.exists() ? : false }
@@ -194,11 +194,11 @@ val properties = Properties().apply {
194
194
// For information about signing.* properties,
195
195
// see comments on signing { ... } block below
196
196
val environment: Map <String , String ?> = System .getenv()
197
- extra[" ossrhUsername" ] = properties [" ossrh.username" ] as ? String
197
+ extra[" ossrhUsername" ] = localProperties [" ossrh.username" ] as ? String
198
198
? : environment[" OSSRH_USERNAME" ] ? : " "
199
- extra[" ossrhPassword" ] = properties [" ossrh.password" ] as ? String
199
+ extra[" ossrhPassword" ] = localProperties [" ossrh.password" ] as ? String
200
200
? : environment[" OSSRH_PASSWORD" ] ? : " "
201
- extra[" githubToken" ] = properties [" github.token" ] as ? String
201
+ extra[" githubToken" ] = localProperties [" github.token" ] as ? String
202
202
? : environment[" GITHUB_TOKEN" ] ? : " "
203
203
204
204
publishing {
You can’t perform that action at this time.
0 commit comments