It took us longer than what we hoped but Asciidoctor Gradle plugin version 1.5.0 is finally here!
The Asciidoctor Gradle plugin is based on AsciidoctorJ and, for the first time, aligns with its version numbering scheme.
Here’s the basic setup to get you started:
The plugin tracks the AsciidoctorJ version starting with this release, hence the jump from 0.7.3 to 1.5.0.
There are many goodies inside Asciidoctor 1.5.0 as explained in the release notes, but perhaps the most interesting one for Gradle users is the capability to write custom extensions (or tag handlers if you will) using Groovy.
You can include extensions just by placing their containing JAR in the classpath, or you can write them directly in your Gradle build, by placing the code inside
There’s a trivial example of the latest option at github.com/aalmiray/asciidoctor-piglatin-example.
Other features found in this release are:
Developers are advised to upgrade as soon as possible.
Be mindful of the compatibility issues raised at the plugins’ readme.
Do not forget to review the changes brought by Asciidoctor 1.5.0 found at the migration guide.
Figure 1. Basel Hackergarten @ Canoo July 24th
The development team would like to thank participants of various Hackergarten sessions, both in Switzerland and abroad.
Several issues and features have been contributed during those sessions.
We couldn’t have done it without your help.
Also, thank you to all the contributors for helping out.
Go forth and make great (and Groovy) documentation once again!
Upgrading to 1.5.0 (recommended) is simple.
Just update the version in your Gradle build file.
All necessary dependencies should be pulled in via Gradle.
When upgrading to Asciidoctor 1.5.0, please refer to the migration guide for details about how to migrate your content.
For more information about issues fixed in this release, please see the 1.5.0 milestone in the issue tracker!