blob: 79d856e6a20346c45b7a82a121f739afca2992b9 [file] [log] [blame]
Adam Metcalfca26d472013-07-19 11:42:47 -07001apply plugin: 'java'
2
3sourceSets {
4 main {
5 java {
6 srcDirs = ['src/']
7 }
8 resources {
9 srcDirs = ['res/']
10 }
11 }
12}
13// TODO put this function in a plugin
14String findToolsJar() {
15 new ByteArrayOutputStream().withStream { os ->
16 project.exec {
17 executable "$rootDir/build/core/find-jdk-tools-jar.sh"
18
19 standardOutput = os
20 }
21 return os.toString().trim()
22 }
23}
24
25dependencies {
26 compile files(findToolsJar())
Justin Moreyebe83f62014-03-17 00:45:13 -050027 compile project(path: ':antlr', configuration: 'antlrRuntime')
28 compile project(':jsilver')
Dirk Doughertyc770a6e2014-02-07 20:04:27 -080029 compile project(':tagsoup')
Adam Metcalfca26d472013-07-19 11:42:47 -070030}