prog8/parser/build.gradle

28 lines
418 B
Groovy
Raw Normal View History

plugins {
id 'antlr'
id 'java'
}
repositories {
mavenCentral()
}
dependencies {
antlr 'org.antlr:antlr4:4.7.2'
}
compileJava {
dependsOn tasks.withType(AntlrTask)
}
generateGrammarSource {
outputDirectory = file("src/prog8/parser")
arguments += ["-no-listener","-no-visitor"]
}
2019-01-29 11:09:18 +00:00
sourceSets {
main {
java {
srcDirs = ["${project.projectDir}/src"]
}
}
}