blob: 568426ff128018b4f5090d266dc0f3ad4d18ab1d [file] [log] [blame]
apply plugin: 'java'
sourceSets {
main {
java {
srcDirs = ['src/']
}
resources {
srcDirs = ['res/']
}
}
}
// TODO put this function in a plugin
String findToolsJar() {
new ByteArrayOutputStream().withStream { os ->
project.exec {
executable "$rootDir/build/core/find-jdk-tools-jar.sh"
standardOutput = os
}
return os.toString().trim()
}
}
dependencies {
compile files(findToolsJar())
compile project(path: ':external:antlr', configuration: 'antlrRuntime')
compile project(':external:jsilver')
}