title: How to supply -noverify VM option via command line during gradle build?
body: <p>When running unit tests in Android studio we have to add the -noverify option to the VM options in order to get out unit tests to mock out a third party library with Mockito to pass.</p>
  <p>Option I am talking about is reached by Run &gt; Edit Configurations. In a JUnit Run configuration there is a textbox available for VM options (which by default seems to have -ea in it).</p>
  <p>I need to run these unit tests on a build server for a CI build. So I need to be able to supply this -noverify CM option on the command line but I do not know how to do this.</p>
  <p>Types of things I have tried:</p>
  <ul>
  <li><p><code>gradlew.bat test -Dnoverify</code></p>
  </li>
  <li><p><code>gradlew.bat test -Dverify:none</code></p>
  </li>
  <li><p><code>gradlew.bat test -Dverify=none</code></p>
  </li>
  <li><p><code>gradlew.bat test -noverify</code></p>
  </li>
  <li><p>Added <code>org.gradle.jvmargs=-noverify</code> to the gradle.properties</p>
  </li>
  </ul>