mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-03 17:22:13 +00:00
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…
x
Reference in New Issue
Block a user