Forked from artem-zinnatullin/GradleWorkersPleaseStopTakingFocus.gradle
Last active
August 29, 2015 14:25
-
-
Save mr-archano/6e5e73b220a70d9b6858 to your computer and use it in GitHub Desktop.
Revisions
-
artem-zinnatullin revised this gist
Jul 21, 2015 . No changes.There are no files selected for viewing
-
artem-zinnatullin created this gist
Jul 21, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ // You can place it in the root build.gradle allprojects { tasks.withType(JavaForkOptions) { // Forked processes like GradleWorkerMain for tests won't steal focus! jvmArgs '-Djava.awt.headless=true' } }