diff --git a/doc/build.gradle b/doc/build.gradle index 9024f18a20..0c66c8ae39 100644 --- a/doc/build.gradle +++ b/doc/build.gradle @@ -32,6 +32,7 @@ task a2x(dependsOn: copySources) { } task createPdf(type: DocbookPdf) { + group = 'Toolchain' setDescription('Generates PDF docbook output.') extension = 'fo' dependsOn a2x @@ -42,6 +43,7 @@ task createPdf(type: DocbookPdf) { } task createHtml(type: DocbookHtml) { + group = 'Toolchain' setDescription('Generates HTML docbook output.') dependsOn a2x,copyWebResources sourceFileName "book.xml" @@ -50,14 +52,14 @@ task createHtml(type: DocbookHtml) { stylesheet "${projectDir}/src/xslt/html.xsl" as File } -task viewHtml (dependsOn: createHtml, description: 'Open HTML docbook outout in default browser') { +task viewHtml (dependsOn: createHtml, description: 'Open HTML docbook outout in default browser', group: 'Toolchain') { doLast { Class.forName("java.awt.Desktop").newInstance().browse( new File("${buildDir}/docbook/html", 'book.html').toURI()) } } -task viewPdf (dependsOn: createPdf , description: 'Open PDF docbook outout in default viewer') { +task viewPdf (dependsOn: createPdf , description: 'Open PDF docbook outout in default viewer', group: 'Toolchain') { doLast { Class.forName("java.awt.Desktop").newInstance().browse( new File("${buildDir}/docbook/pdf", this.project.rootProject.name + '.pdf').toURI())