Skip to content

Commit f9d71bf

Browse files
authored
Develop (#6)
* Fix for generation of source java from antlr source (#5) * Update build.gradle Remove self dependency
1 parent 1ace76f commit f9d71bf

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import java.text.SimpleDateFormat
33
buildscript {
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
1415
plugins {
1516
id "org.ajoberstar.grgit" version "3.0.0"
17+
id 'antlr'
1618
}
1719

1820

@@ -38,8 +40,8 @@ repositories {
3840
dependencies {
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

6668
spotless {
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')

0 commit comments

Comments
 (0)