16 lines
395 B
Groovy
16 lines
395 B
Groovy
apply id: 'base'
|
|
apply id: '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)}
|
|
}
|
|
}
|