faq.gradle 478 B

1234567891011121314151617
  1. apply plugin: 'base'
  2. apply plugin: 'docbook'
  3. defaultTasks 'docbookHtmlSingle'
  4. [docbookHtml, docbookFoPdf, docbookHtmlSingle]*.sourceFileName = 'faq.xml'
  5. docbookHtmlSingle.stylesheet = new File(projectDir, 'src/xsl/html-single-custom.xsl')
  6. docbookHtmlSingle.suffix = ''
  7. docbookHtmlSingle.doLast {
  8. resourcesDir = new File(projectDir, 'src/resources')
  9. ant {
  10. docsDir = new File(buildDir, 'docs')
  11. copy(toDir: docsDir) {fileset(dir: resourcesDir)}
  12. }
  13. }