blob: b9b44e75f67d72f2e0921fda956b045f74ac956e (
plain)
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
|
apply plugin: 'java'
configurations {
antlrRuntime
}
sourceSets {
antlrRuntime {
java {
srcDirs = ["antlr-3.4/runtime/Java/src/main/java"]
exclude "**/org/antlr/runtime/tree/DOTTreeGenerator.java"
}
}
}
task runtimeJar(type: Jar) {
from sourceSets.antlrRuntime.output
dependsOn antlrRuntimeClasses
baseName "antlr"
appendix "runtime"
version "3.4"
}
artifacts {
antlrRuntime runtimeJar
}
|