You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
467 B
26 lines
467 B
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 |
|
} |