title: Skip tests in IntelliJ using Gradle
body: <p>Does anyone know how I can skip JUnit tests in IntelliJ when doing a Gradle build like the following command line version? I have searched extensively for a solution but can't find one. I am in the process of converting an existing project to Gradle and need to support many developers that are not familiar with Gradle, some UX, some front end, and some Java. There are many broken Junit tests in the myriad modules and long-term we will fix them. Short term I need all other developers to use the tools they are familiar with to be able to do their job easily.</p>
  
  <pre><code>./gradlew build -x test
  </code></pre>
  
  <p>The Gradle-Android Compiler settings allow for command-line options but not non-android projects as shown in the IntelliJ settings dialog shown below.</p>
  
  <p><img src="https://i.stack.imgur.com/QDnwO.png" alt="enter image description here"></p>