Skip to content

Commit 1f074c3

Browse files
author
Scott Dennison
committed
[PR-4815] Make antlr version consistent (unfortunately not on version 4.6 due to errors.). Also use appveyor version numbering.
1 parent 24b6744 commit 1f074c3

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Diff for: development/java/Rubberduck.Parsing/Grammar/build.gradle

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,30 @@
11
buildscript {
2+
project.ext.antlrVersion = '4.7.2'
3+
24
repositories {
3-
mavenCentral();
5+
mavenCentral()
46
}
57

68
dependencies {
7-
classpath group: 'org.antlr', name: 'antlr4', version: '4.7.2'
9+
classpath group: 'org.antlr', name: 'antlr4', version: "${project.ext.antlrVersion}"
810
}
911
}
1012

1113
plugins {
1214
id 'java'
1315
}
1416

17+
def envVersion = System.getenv("APPVEYOR_VERSION")
18+
1519
group 'com.rubberduckvba.rubberduck.parsing'
16-
version '1'
20+
version envVersion==null?'snapshot':envVersion
1721

1822
repositories {
1923
mavenCentral()
2024
}
2125

2226
dependencies {
23-
compile group: 'org.antlr', name: 'antlr4-runtime', version: '4.7.2'
27+
compile group: 'org.antlr', name: 'antlr4-runtime', version: "${project.ext.antlrVersion}"
2428
}
2529

2630
def grammarCodeGenDest = "${projectDir}/src/main/gen"

0 commit comments

Comments
 (0)