Added gradle build files (experimental)

This commit is contained in:
Luke Taylor
2009-12-04 21:33:17 +00:00
parent 40056f2e4a
commit dab76249db
10 changed files with 189 additions and 0 deletions

14
docs/faq/build.gradle Normal file
View File

@@ -0,0 +1,14 @@
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)}
}
}