Class IndraPluginPublishingExtensionImpl

    • Constructor Detail

      • IndraPluginPublishingExtensionImpl

        @Inject
        public IndraPluginPublishingExtensionImpl​(org.gradle.api.model.ObjectFactory objects,
                                                  org.gradle.plugin.devel.GradlePluginDevelopmentExtension publishingExtension,
                                                  com.gradle.publish.PluginBundleExtension pluginBundleExtension)
    • Method Detail

      • plugin

        public void plugin​(String id,
                           String mainClass,
                           String displayName,
                           @Nullable String description,
                           @Nullable List<String> tags)
        Description copied from interface: IndraPluginPublishingExtension
        Register a plugin to have marker validated, and to be deployed to the Gradle Plugin Portal.

        The id is relative to IndraPluginPublishingExtension.pluginIdBase(), which is by default the project's group id. Main class is absolute.

        If no tags are set on the global plugin bundle, then the first provided set of tags will be applied.

        Specified by:
        plugin in interface IndraPluginPublishingExtension
        Parameters:
        id - the relative plugin id
        mainClass - the fully qualified name of the plugin class
        displayName - the display name for the plugin on the Gradle Plugin Portal
        description - the plugin description
        tags - tags used for the plugin on the plugin portal