Skip to content

Commit

Permalink
Fix publishing snapshot release from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-manes committed Jan 15, 2020
1 parent b2d67d1 commit 8dd18b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ publishing {
url = project.version.releaseBuild ? releasesUrl : snapshotsUrl

credentials {
username = project.properties['nexusUsername'] ?: null
password = project.properties['nexusPassword'] ?: null
username = project.properties['nexusUsername'] ?: System.env.'nexusUsername'
password = project.properties['nexusPassword'] ?: System.env.'nexusPassword'
}
}
}
Expand Down

0 comments on commit 8dd18b1

Please sign in to comment.