blob: 7a2c99ec143b3e21300e85f780d6c0e18ebad76f [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: ':antlr', configuration: 'antlrRuntime')
compile project(':jsilver')
}