Fix build when upload properties are missing. Added missing hsql test dependency
This commit is contained in:
parent
a097a47246
commit
e156d5339a
|
@ -56,7 +56,9 @@ task apidocs(type: Javadoc) {
|
|||
}
|
||||
|
||||
task docSiteLogin(type: Login) {
|
||||
host = sshHost
|
||||
if (hasProperty('sshHost')) {
|
||||
host = property('sshHost')
|
||||
}
|
||||
}
|
||||
|
||||
// Define remoteSiteDir and sshHost in gradle.properties
|
||||
|
@ -93,7 +95,9 @@ task uploadDoc(type: TarUpload) {
|
|||
task uploadFaq(type: TarUpload) {
|
||||
dependsOn ':faq:docbookHtmlSingle'
|
||||
classifier = 'faq'
|
||||
remoteDir = project.property('remoteSiteDir')
|
||||
if (hasProperty('remoteSiteDir')) {
|
||||
remoteDir = property('remoteSiteDir')
|
||||
}
|
||||
login = docSiteLogin
|
||||
|
||||
def faqDir = new File(project(':faq').buildDir, 'docs')
|
||||
|
|
|
@ -16,4 +16,5 @@ dependencies {
|
|||
provided 'javax.servlet:servlet-api:2.5'
|
||||
|
||||
testCompile 'commons-codec:commons-codec:1.3'
|
||||
testRuntime "hsqldb:hsqldb:$hsqlVersion"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue