mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-04-26 09:05:44 +00:00
17 lines
448 B
Groovy
17 lines
448 B
Groovy
apply plugin: 'base'
|
|
apply plugin: '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)}
|
|
}
|
|
}
|