title: Gradle doesn't pass System properties to test classes
body: <p>I am using Selenium and Spock for testing my application. Running tests that need System properties from Maven or my IDE works like a charm, but Gradle is getting null values.</p>
  
  <pre><code>@Shared
  private int waitTimeout = System.getProperty("waitTimeout", "10").toInteger()
  
  @Shared
  protected String apolloURL = System.getProperty("apolloURL")
  </code></pre>
  
  <p>Maybe I am doing something wrong? </p>