1234567891011121314 |
- usePlugin('docbook')
- defaultTasks 'docbookHtmlSingle'
- docbookSrcFileName = '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)}
- }
- }
|