title: Into what options have I to put the --stacktrace for Gradle if it is NOT an Android project?
body: <p>Soon after starting a task I have got a message:</p>
  
  <pre><code>Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  </code></pre>
  
  <p>Yes, there are two discussions here about how I can do it in command line, thank you. I am using IDE not for returning back to command line constantly. There should be some possibilities how to set that options in the settings for Run or for Project. But I cannot find any. </p>
  
  <p>I can go to Gradle-Android compiler and nicely set --stacktrace there. Several posts on SO describe that in variations. But my project is not Android. And on the settings page is written:</p>
  
  <pre><code>These settings are used for compiling Gradle-based Android projects.
  </code></pre>
  
  <p>There are interesting pages in:</p>
  
  <pre><code> File-Settings-Build...-Compiler, 
        User-Local ... VM options
   File-Settings-Build...-Compiler-Java Compiler-
        Additionals command line parameters
   Run-Edit-Gradle-*task*-
        VM options
        Script parameters
  </code></pre>
  
  <p>I can't put --stacktrace in VM parameters, it is an error. Maybe it is possible with some special syntax?</p>
  
  <p>Where and what to set?</p>