Please note the plugin has been slightly adapted to support Gradle 3. Moreover from version 0.2.x the published artifacts have also moved from jcenter to the new Gradle Plugin Portal.
Gradle version | Plugin version |
---|---|
>= 3.x |
0.2.x |
⇐ 2.x |
0.1.x |
Apply the plugin in a java project as follows
Once installed the plugin provides the additional task jxr. It produces per-project html crossreference files for your java sources at path build/jxr.
The gradle JXR plugin is licensed under the Apache License, Version 2.0.
Many thanks to:
-
The Gradle project
-
The Maven project
-
The asciidoctor-gradle-plugin (I learned very much from their code).
-
Baron Roberts for adding support to Gradle 3
-
find a way to fix missing cross references when using whitespaces before or after method/constructor declaration.
-
add support for aggregating references
-
add support for multiproject builds
-
add support for linking javadoc
-
add support for generating xrefs for groovy sources
-
add configuration hooks for JXR configuration, namely: input/output encoding, source dirs, output dir
-
documentation
-
Added sources jar to published artifacts (in order to be published at http://jcenter.bintray.com).