Class AntlrPlugin

java.lang.Object
org.gradle.api.plugins.antlr.AntlrPlugin
All Implemented Interfaces:
Plugin<Project>

public abstract class AntlrPlugin extends Object implements Plugin<Project>
A plugin for adding Antlr support to java projects.
Since:
0.9
See Also:
  • Field Details

    • ANTLR_CONFIGURATION_NAME

      public static final String ANTLR_CONFIGURATION_NAME
      The antlr configuration name.
      Since:
      0.9
      See Also:
  • Constructor Details

    • AntlrPlugin

      @Inject public AntlrPlugin(ObjectFactory objectFactory)
  • Method Details

    • apply

      public void apply(Project project)
      Description copied from interface: Plugin
      Apply this plugin to the given target object.
      Specified by:
      apply in interface Plugin<Project>
      Parameters:
      project - The target object