Skip to content

Commit

Permalink
add formatting of antlr4 grammars (closes antlr#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasbalke committed Dec 28, 2018
1 parent 8b06489 commit 0b2ab35
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<slf4j.version>1.7.25</slf4j.version>
<junit.version>4.12</junit.version>
<assertj.version>3.11.1</assertj.version>
<spotless.version>1.17.0</spotless.version>
<spotless.version>1.18.0</spotless.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -110,6 +110,17 @@
<file>${maven.multiModuleProjectDirectory}/format.importorder</file>
</importOrder>
</java>

<antlr4>
<includes>
<include>src/main/antlr4/**/*.g4</include>
<include>src/test/antlr4/**/*.g4</include>
</includes>

<antlr4Formatter>
<version>1.1.0</version>
</antlr4Formatter>
</antlr4>
</configuration>
</plugin>
</plugins>
Expand Down Expand Up @@ -211,4 +222,4 @@
<url>scm:git:https://github.com/teverett/Antlr4Formatter.git</url>
</scm>

</project>
</project>

0 comments on commit 0b2ab35

Please sign in to comment.