Skip to content

davidecavestro/gradle-jxr-plugin

Repository files navigation

Gradle JXR plugin

Build Status

Compatibility

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.

Table 1. Gradle compatibility
Gradle version Plugin version

>= 3.x

0.2.x

⇐ 2.x

0.1.x

Installation

Apply the plugin in a java project as follows

Gradle 3+

plugins {
  id "net.davidecavestro.gradle.jxr" version "0.2.1"
}

Gradle up to 2.x

buildscript {
    repositories {
        mavenRepo name: 'Bintray', url: 'http://jcenter.bintray.com'
        mavenCentral()
    }

    dependencies {
        classpath 'net.davidecavestro:gradle-jxr-plugin:0.1.1'
    }
}

apply plugin: 'java'
apply plugin: 'jxr'

Usage

Once installed the plugin provides the additional task jxr. It produces per-project html crossreference files for your java sources at path build/jxr.

License

The gradle JXR plugin is licensed under the Apache License, Version 2.0.

Alternatives

The JXR-Ant project provides an ANT task with some examples for using it within a gradle project.

Credits

Many thanks to:

TODO

Release Notes

v0.2.1

  • Added support to Gradle 3

v0.2.0

  • BROKEN do not use it

v0.1.1

v0.1

  • Initial release. Very rough support in place.

About

A Gradle plugin that uses Maven JXR to produce cross-reference for project's sources.

Resources

License

Stars

Watchers

Forks

Packages

No packages published