Skip to content

Commit

Permalink
Merge pull request #691 from naver/feature/fix-bintray-gradle-configu…
Browse files Browse the repository at this point in the history
…ration

Check property existence in bintray gradle configuration

Reviewed by : geunwoo
  • Loading branch information
songeunwoo authored Nov 23, 2020
2 parents 20a3798 + ab7fbe8 commit b881228
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ subprojects {
}

bintray {
user = project.bintrayUser
key = project.bintrayKey
user = project.hasProperty("bintrayUser") ? bintrayUser : ""
key = project.hasProperty("bintrayKey") ? bintrayKey : ""
publications = ["nGrinerModules"]
publish = true
override = true
Expand All @@ -123,9 +123,10 @@ subprojects {
released = new Date()
gpg {
sign = true
passphrase = project.bintrayGpgPassphrase
passphrase = project.hasProperty("bintrayGpgPassphrase") ? bintrayGpgPassphrase : ""
}
}
}
}

}

0 comments on commit b881228

Please sign in to comment.