-
Notifications
You must be signed in to change notification settings - Fork 5
cat antlr3
Zealin edited this page Nov 14, 2012
·
1 revision
Gradle wrapper plugin for antlr v3
antlr3 configuration closure:
Standard values (if not set in closure):
- destinationDir= 'target/generated-sources/antlr'
- antlrSource = 'src/main/antlr'
destinationDir: Target directory for generated source code. Will be added to source sets.
antlrSource: Path to the grammar files. Any given path to a *.g will be interpreted relatively to this Path
generated: Path to a grammer file "->" package for generated source
Example:
apply plugin: 'cat-antlr3'
antlr3 {
generate 'XYZ.g->cc.catalysts.example.parser'
}