forked from harbby/sylph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (33 loc) · 830 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
apply plugin: 'antlr'
dependencies {
antlr "org.antlr:antlr4:4.6"
compile group: 'com.google.guava', name: 'guava', version: deps.guava
}
generateGrammarSource.dependsOn 'licenseMain','licenseTest'
licenseMain.dependsOn 'clean'
licenseTest.dependsOn 'clean'
license {
excludes(["**/*.g4","**/*.tokens"])
}
//sourceSets {
// main {
// java {
// srcDirs = ['src/main/java', 'src/main/thrift-java']
// }
// resources {
// srcDirs = ['src/main/resources']
// }
// }
// test {
// java {
// srcDirs = ['src/test/java', 'src/test/thrift']
// }
// resources {
// srcDirs = ['src/test/resources']
// }
// }
//}
generateGrammarSource {
maxHeapSize = "64m"
arguments += ["-visitor", "-long-messages"]
}