I've successfully converted a Maven build to Gradle except... the docbook
task. Does anyone know how I can get a docbook task to work for single-page
html that allows me to customize/configure the css, the syntax highlighting,
and the xinclude?

I've tried Steve Ebersole's jdocbook plugin but even after studying the
source code, I'm not sure how I can configure the jdocbook task with respect
to custom css, xinclude support, and syntax highlighting. I've also studied
the Gradle docbook task classes but could not figure it out.

This is the Maven code that I need to convert:

<plugin>
                <groupId>com.agilejava.docbkx</groupId>
                <artifactId>docbkx-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>compile</phase>
                        <goals>
                            <goal>generate-html</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <sourceDirectory>src/main/docbook</sourceDirectory>
                   
<targetDirectory>${project.build.directory}/docbook/html</targetDirectory>
                   
<htmlStylesheet>resources/documentation.css</htmlStylesheet>
                    <xincludeSupported>true</xincludeSupported>
                    <highlightSource>1</highlightSource>
                   
<htmlCustomization>${basedir}/src/main/docbook/html/resources/highlight.xsl</htmlCustomization>
                </configuration>
</plugin>

Any help (or alternatives) are highly appreciated.

Etienne

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/how-to-converto-maven-docbook-task-to-gradle-docbook-task-tp4839305p4839305.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to