Skip to content

Commit

Permalink
Updates code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Håkansson committed May 18, 2017
1 parent ba3ce15 commit 8bae4b6
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions build.gradle
Expand Up @@ -140,26 +140,28 @@ task writeVersionFile() {
applicationDistribution.from(versionFile)
jar.dependsOn writeVersionFile

task xsltdoc() << {
ant {
xslt (
basedir: "src",
destdir: (new File(docsDir, "xsltdoc")),
style: "build-xslt-doc.xsl",
includes: "**/*.xsl",
excludes:"lib, ant-build, build-xslt-doc.xsl, build",
filenameparameter: "filename"
) {
mapper (
type: "package",
from: "*.xsl",
to: "*.html"
)
xmlcatalog {
dtd (
publicId: "-//W3C//DTD XHTML 1.0 Strict//EN",
location: "ant-build/resources/dtd/xhtml10/xhtml1-strict.dtd"
task xsltdoc() {
doLast() {
ant {
xslt (
basedir: "src",
destdir: (new File(docsDir, "xsltdoc")),
style: "build-xslt-doc.xsl",
includes: "**/*.xsl",
excludes:"lib, ant-build, build-xslt-doc.xsl, build",
filenameparameter: "filename"
) {
mapper (
type: "package",
from: "*.xsl",
to: "*.html"
)
xmlcatalog {
dtd (
publicId: "-//W3C//DTD XHTML 1.0 Strict//EN",
location: "ant-build/resources/dtd/xhtml10/xhtml1-strict.dtd"
)
}
}
}
}
Expand Down

0 comments on commit 8bae4b6

Please sign in to comment.