2010-03-28 23:54:41 +01:00
|
|
|
apply plugin: 'base'
|
|
|
|
apply plugin: 'docbook'
|
2010-01-20 04:14:48 +00:00
|
|
|
|
|
|
|
defaultTasks 'docbookHtmlSingle'
|
|
|
|
|
2010-03-05 23:20:15 +00:00
|
|
|
[docbookHtml, docbookFoPdf, docbookHtmlSingle]*.sourceFileName = 'faq.xml'
|
|
|
|
|
2010-01-20 04:14:48 +00:00
|
|
|
docbookHtmlSingle.stylesheet = new File(projectDir, 'src/xsl/html-single-custom.xsl')
|
2010-05-05 00:16:08 +01:00
|
|
|
docbookHtmlSingle.suffix = ''
|
2010-01-20 04:14:48 +00:00
|
|
|
|
|
|
|
docbookHtmlSingle.doLast {
|
|
|
|
resourcesDir = new File(projectDir, 'src/resources')
|
|
|
|
ant {
|
|
|
|
docsDir = new File(buildDir, 'docs')
|
|
|
|
copy(toDir: docsDir) {fileset(dir: resourcesDir)}
|
|
|
|
}
|
|
|
|
}
|