build.gradle 439 Bytes
Newer Older
Alexander Weigl's avatar
Alexander Weigl committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
description = 'lang'

apply plugin: 'antlr'


repositories { mavenCentral() }

generateGrammarSource {
    maxHeapSize = "64m"
    arguments += ["-visitor", "-long-messages", "-package","edu.kit.iti.formal.psdbg.parser"]
    outputDirectory file("${project.buildDir}/generated-src/antlr/main/")
}

dependencies {
    compile group: 'org.antlr', name: 'antlr4', version: '4.7'
    antlr group: 'org.antlr', name: 'antlr4', version: '4.7'
}