Skip to content

Commit 5ea18ff

Browse files
committed
mark all grammar files as input files for code generation:
otherwise you old/stale grammar will be used
1 parent 5b44eff commit 5ea18ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ generateGrammarSource {
7878
arguments += ["-visitor"]
7979
outputDirectory = file("${project.buildDir}/generated-src/antlr/main/graphql/parser/antlr")
8080
}
81+
generateGrammarSource.inputs.dir('src/main/antlr')
8182

8283
task sourcesJar(type: Jar) {
8384
dependsOn classes

0 commit comments

Comments
 (0)