What is minimal sample Gradle project for ANTLR4 (with antlr plugin)?

后端 未结 7 1425
陌清茗
陌清茗 2021-02-14 03:47

I have created new Gradle project, added

apply plugin: \'antlr\'

and

dependencies {
    antlr \"org.antlr:antlr4:4.5.3\"
         


        
7条回答
  •  庸人自扰
    2021-02-14 04:31

    A sample is included in the Gradle "all" distribution under the "samples" folder. You can also simply browse the sample on GitHub.

    https://github.com/gradle/gradle/tree/master/subprojects/docs/src/samples/antlr

提交回复
热议问题