Minor tweaks to build file.

This commit is contained in:
Luke Taylor 2010-05-25 16:07:18 +01:00
parent 01308f8308
commit 055fcd0b7d
1 changed files with 4 additions and 4 deletions

View File

@ -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