12345678910111213141516 |
- apply id: 'base'
- apply id: 'docbook'
- defaultTasks 'docbookHtmlSingle'
- [docbookHtml, docbookFoPdf, docbookHtmlSingle]*.sourceFileName = 'faq.xml'
- docbookHtmlSingle.stylesheet = new File(projectDir, 'src/xsl/html-single-custom.xsl')
- docbookHtmlSingle.doLast {
- resourcesDir = new File(projectDir, 'src/resources')
- ant {
- docsDir = new File(buildDir, 'docs')
- copy(toDir: docsDir) {fileset(dir: resourcesDir)}
- }
- }
|