Class CrossdocPlugin

java.lang.Object
net.kyori.indra.crossdoc.CrossdocPlugin
All Implemented Interfaces:
net.kyori.mammoth.ProjectPlugin, org.gradle.api.Plugin<org.gradle.api.Project>

public class CrossdocPlugin extends Object implements net.kyori.mammoth.ProjectPlugin
Generate offline links to Javadoc for other projects within the same multi-module build.

This plugin currently only applies to the Javadoc published by the main source set, since conventions for alternate publications are unclear.

Behavior when this plugin is only applied to some but not all projects with published Javadoc within a single build is undefined.

Since:
2.1.0
  • Field Details

    • COPY_JAVADOC_TASK_NAME

      public static final String COPY_JAVADOC_TASK_NAME
      Name for the main source set CopyJavadoc task.
      Since:
      2.1.0
      See Also:
    • OFFLINE_LINKED_JAVADOC_CONFIGURATION_NAME

      public static final String OFFLINE_LINKED_JAVADOC_CONFIGURATION_NAME
      The configuration used for resolving projects for javadoc linking.
      Since:
      2.1.0
      See Also:
    • EXTENSION_NAME

      public static final String EXTENSION_NAME
      The name of the extension created on a project to configure this plugin.
      Since:
      2.1.0
      See Also:
  • Constructor Details

    • CrossdocPlugin

      public CrossdocPlugin()
  • Method Details

    • apply

      public void apply(@NotNull @NotNull org.gradle.api.Project project, @NotNull @NotNull org.gradle.api.plugins.PluginContainer plugins, @NotNull @NotNull org.gradle.api.plugins.ExtensionContainer extensions, @NotNull @NotNull org.gradle.api.tasks.TaskContainer tasks)
      Specified by:
      apply in interface net.kyori.mammoth.ProjectPlugin