diff --git a/parser/build.gradle b/parser/build.gradle index c298b8883..01a7ac00f 100644 --- a/parser/build.gradle +++ b/parser/build.gradle @@ -19,10 +19,14 @@ generateGrammarSource { outputDirectory = file("src/prog8/parser") arguments += ["-no-listener","-no-visitor"] } + sourceSets { main { java { srcDirs = ["${project.projectDir}/src"] } + antlr { + srcDirs = ["${project.projectDir}/antlr"] + } } } \ No newline at end of file