Skip to content

Commit

Permalink
Update build.gradle (#88)
Browse files Browse the repository at this point in the history
<!-- Please describe your pull request here. -->

## References

- TODO

<!-- References to relevant GitHub issues and pull requests, esp.
upstream and downstream changes -->

## Submitter checklist

- [ ] Recommended: Join [WireMock Slack](https://slack.wiremock.org/) to
get any help in `#help-contributing` or a project-specific channel like
`#wiremock-java`
- [ ] Recommended: If you participate in Hacktoberfest 2023, make sure
you're [signed up](https://wiremock.org/events/hacktoberfest/) there and
in the WireMock form
- [ ] The PR request is well described and justified, including the body
and the references
- [ ] The PR title represents the desired changelog entry
- [ ] The repository's code style is followed (see the contributing
guide)
- [ ] Test coverage that demonstrates that the change works as expected
- [ ] For new features, there's necessary documentation in this pull
request or in a subsequent PR to
[wiremock.org](https://github.com/wiremock/wiremock.org)

<!--
Put an `x` into the [ ] to show you have filled the information.
The template comes from
https://github.com/wiremock/.github/blob/main/.github/pull_request_template.md
You can override it by creating .github/pull_request_template.md in your
own repository
-->
  • Loading branch information
oleg-nenashev authored Oct 30, 2023
1 parent eb278b9 commit 8c56bed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ nexusPublishing {
// TODO: allow configuring destinations for oss1
// nexusUrl.set(uri("https://oss.sonatype.org/service/local/"))
// snapshotRepositoryUrl.set(uri("https://oss.sonatype.org/content/repositories/snapshots/"))
username.set(providers.environmentVariable("OSSRH_USERNAME").get())
password.set(providers.environmentVariable("OSSRH_TOKEN").get())
username.set(providers.environmentVariable("OSSRH_USERNAME").orElse(null).get())
password.set(providers.environmentVariable("OSSRH_TOKEN").orElse(null).get())
}
}
}

0 comments on commit 8c56bed

Please sign in to comment.