Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
Fixup gradle-mvn-push script
Browse files Browse the repository at this point in the history
Summary: Previously was looking at the wrong credential properties.

Reviewed By: nscoding

Differential Revision: D7647870

fbshipit-source-id: f9b8e5dbc6e999796ab55bcea217c529b7205a85
  • Loading branch information
xiphirx authored and facebook-github-bot committed Apr 17, 2018
1 parent 949896d commit 2116e2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gradle/gradle-mvn-push.gradle
Expand Up @@ -22,11 +22,11 @@ def isReleaseBuild() {
}

def getRepositoryUsername() {
return hasProperty('NEXUS_USERNAME') ? NEXUS_USERNAME : ""
return hasProperty('repositoryUsername') ? property('repositoryUsername') : ""
}

def getRepositoryPassword() {
return hasProperty('NEXUS_PASSWORD') ? NEXUS_PASSWORD : ""
return hasProperty('repositoryPassword') ? property('repositoryPassword') : ""
}

def configurePom(pom) {
Expand Down Expand Up @@ -118,4 +118,4 @@ afterEvaluate { project ->
archives androidSourcesJar
archives androidJavadocsJar
}
}
}

0 comments on commit 2116e2e

Please sign in to comment.