Minor tweaks to build file.
This commit is contained in:
parent
01308f8308
commit
055fcd0b7d
|
@ -56,8 +56,8 @@ task apidocs(type: Javadoc) {
|
|||
}
|
||||
|
||||
task docSiteLogin(type: Login) {
|
||||
if (hasProperty('sshHost')) {
|
||||
host = property('sshHost')
|
||||
if (project.hasProperty('sshHost')) {
|
||||
host = project.property('sshHost')
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -95,8 +95,8 @@ task uploadDoc(type: TarUpload) {
|
|||
task uploadFaq(type: TarUpload) {
|
||||
dependsOn ':faq:docbookHtmlSingle'
|
||||
classifier = 'faq'
|
||||
if (hasProperty('remoteSiteDir')) {
|
||||
remoteDir = property('remoteSiteDir')
|
||||
if (project.hasProperty('remoteSiteDir')) {
|
||||
remoteDir = project.property('remoteSiteDir')
|
||||
}
|
||||
login = docSiteLogin
|
||||
|
||||
|
|
Loading…
Reference in New Issue