blob: c37eab2ee285c9119ec08b92977988531d016aea [file] [log] [blame]
// GradleWorkerMain ignores options available in the environment, so we have to pass them there
allprojects {
tasks.withType(JavaForkOptions) {
// should improve memory on a 64bit JVM
jvmArgs "-XX:+UseCompressedOops"
// should avoid GradleWorkerMain to steal focus
jvmArgs "-Djava.awt.headless=true"
jvmArgs "-Dapple.awt.UIElement=true"
}
}