Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save mr-archano/6e5e73b220a70d9b6858 to your computer and use it in GitHub Desktop.

Select an option

Save mr-archano/6e5e73b220a70d9b6858 to your computer and use it in GitHub Desktop.

Revisions

  1. @artem-zinnatullin artem-zinnatullin revised this gist Jul 21, 2015. No changes.
  2. @artem-zinnatullin artem-zinnatullin created this gist Jul 21, 2015.
    8 changes: 8 additions & 0 deletions GradleWorkersPleaseStopTakingFocus.gradle
    Original 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'
    }
    }