Search Gradle plugins

Preconfigured XML AST task support for ANTLRv4 grammar files.

https://github.com/jurgenei/gradle-antlr-g4-plugin

Sources: https://github.com/jurgenei/gradle-antlr-g4-plugin

Version 0.1.2 (latest)

Created 02 June 2026.

Preconfigured XML AST task support for ANTLRv4 grammar files.

Add this plugin to your build using the plugins DSL:

plugins {
  id("name.jurgenei.gradle.antlr.g4") version "0.1.2"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("name.jurgenei.gradle.antlr.g4:name.jurgenei.gradle.antlr.g4.gradle.plugin:0.1.2")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("name.jurgenei.gradle.antlr.g4")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("name.jurgenei.gradle.antlr.g4:name.jurgenei.gradle.antlr.g4.gradle.plugin:0.1.2")
      }
    }
    
    apply(plugin = "name.jurgenei.gradle.antlr.g4")
  • Applying plugins to all subprojects .