Class XmlAstPlugin

java.lang.Object
name.jurgenei.gradle.antlr.XmlAstPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public class XmlAstPlugin extends Object implements org.gradle.api.Plugin<org.gradle.api.Project>
Registers xmlast Gradle tasks and wires them to the Java runtime classpath.

The plugin exposes a default xmlast task using XmlAstGradleTask and also configures all XmlAst task types to depend on classes, ensuring converter classes are available before conversion starts.

  • Constructor Details

    • XmlAstPlugin

      public XmlAstPlugin()
      Creates the plugin instance.
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)
      Applies task registrations and common task conventions for this plugin.
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>
      Parameters:
      project - Gradle project receiving the plugin.