title: Gradle Wrapper 4.6 not recognising test filtering parameter
body: <p>I'm having trouble filtering tests with gradle wrapper as the --tests parameter is not being recognized:</p>
  
  <pre><code>❯ ./gradlew test --continuous --tests "pt.joaomneto.titancompanion.adventure.twofm.TWOFMAdventureStateTest"                                                                                                                                                                                                              
  
  Continuous build is an incubating feature.
  
  &gt; Configure project :
  TitanCompanion: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Please change the configuration name to 'kapt' for these artifacts: 'com.android.databinding:compiler:3.2.0-alpha10' and apply the kapt plugin: "apply plugin: 'kotlin-kapt'".
  
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  Problem configuring task :test from command line.
  &gt; Unknown command-line option '--tests'.
  
  * Try:
  Run gradlew help --task :test to get task usage details. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  
  * Get more help at https://help.gradle.org
  
  BUILD FAILED in 1s
  </code></pre>
  
  <p>As you can see, there is no such parameter in the help output.</p>
  
  <pre><code>❯ ./gradlew help --task :test                                                                                                                                                                                                                                                                                          
  
  &gt; Configure project :
  TitanCompanion: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Please change the configuration name to 'kapt' for these artifacts: 'com.android.databinding:compiler:3.2.0-alpha10' and apply the kapt plugin: "apply plugin: 'kotlin-kapt'".
  
  &gt; Task :help
  Detailed task information for :test
  
  Path
       :test
  
  Type
       Task (org.gradle.api.Task)
  
  Description
       Run unit tests for all variants.
  
  Group
       verification
  </code></pre>
  
  <p>And I'm using gradle 4.6</p>
  
  <pre><code>❯ ./gradlew --version                                                                                                                                                                                                                                                                                                    
  
  ------------------------------------------------------------
  Gradle 4.6
  ------------------------------------------------------------
  
  Build time:   2018-02-28 13:36:36 UTC
  Revision:     8fa6ce7945b640e6168488e4417f9bb96e4ab46c
  
  Groovy:       2.4.12
  Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017
  JVM:          1.8.0_162 (Oracle Corporation 25.162-b12)
  OS:           Mac OS X 10.13 x86_64
  </code></pre>
  
  <p>What am I doing wrong here? The documentation clearly states that I can use this parameter to filter testing: <a href="https://docs.gradle.org/4.6/userguide/java_plugin.html#test_filtering" rel="nofollow noreferrer">https://docs.gradle.org/4.6/userguide/java_plugin.html#test_filtering</a></p>
  
  <p>Can you help me here? </p>
  
  <p>Edit: This only happens in an Android project. Using the same gradle version in a standard kotlin+spring project it works properly...</p>