File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import java.text.SimpleDateFormat
33buildscript {
44 dependencies {
55 classpath " com.diffplug.spotless:spotless-plugin-gradle:3.13.0"
6+ classpath ' antlr:antlr:2.7.7'
67 }
78
89 repositories {
@@ -13,6 +14,7 @@ buildscript {
1314// Access Git info from build script
1415plugins {
1516 id " org.ajoberstar.grgit" version " 3.0.0"
17+ id ' antlr'
1618}
1719
1820
@@ -38,8 +40,8 @@ repositories {
3840dependencies {
3941 compile ' rhino:js:1.6R5'
4042 compile ' antlr:antlr:2.7.6'
41- compile ' net.rptools.parser:parser:1.1.b24'
4243 testCompile group : ' junit' , name : ' junit' , version : ' 4.11'
44+ antlr ' antlr:antlr:2.7.7'
4345}
4446
4547// Custom properties
@@ -65,6 +67,10 @@ group = "net.rptools.parser"
6567
6668spotless {
6769 java {
70+ target project. fileTree(project. rootDir) {
71+ include ' src/**/*.java'
72+ exclude ' **/generated-src/'
73+ }
6874 licenseHeaderFile ' spotless.license.java'
6975 // Now using the Google Java style guide
7076 // eclipse().configFile('build-resources/eclipse.prefs.formatter.xml')
You can’t perform that action at this time.
0 commit comments