set antlr source (grammar) directory

This commit is contained in:
Ferenc Boldog 2019-01-29 12:09:39 +01:00
parent 037c78cfaf
commit 2c64f95b06

View File

@ -19,10 +19,14 @@ generateGrammarSource {
outputDirectory = file("src/prog8/parser") outputDirectory = file("src/prog8/parser")
arguments += ["-no-listener","-no-visitor"] arguments += ["-no-listener","-no-visitor"]
} }
sourceSets { sourceSets {
main { main {
java { java {
srcDirs = ["${project.projectDir}/src"] srcDirs = ["${project.projectDir}/src"]
} }
antlr {
srcDirs = ["${project.projectDir}/antlr"]
}
} }
} }