title: android-gradle-plugin 1.2.2: Flag ignoreFailures causes error in task connectedAndroidTest
body: <p>I updated my build.gradle to use android-gradle plugin 1.2.2 (instead of 1.1.0):</p>
  
  <pre><code>dependencies {
      classpath 'com.android.tools.build:gradle:1.2.2'
  }
  </code></pre>
  
  <p>Afterwards I get an exception, if I try to sync my project.
  My build.gradle</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
  
     packagingOptions {
        exclude 'LICENSE.txt'
     }
  
     compileSdkVersion 22
     buildToolsVersion "22.0.1"
  
     defaultConfig {
        applicationId "com.kupferwerk.myapplication"
        minSdkVersion 15
        targetSdkVersion 22
        versionCode 100      
        versionName "1.0.0"
     }
     lintOptions {
        abortOnError false
        disable 'ContentDescription'
        disable 'InvalidPackage'
     }
  
     buildTypes {
        release {
           minifyEnabled false
           proguardFiles 'proguard-rules.pro'
        }
        debug {
           applicationIdSuffix ".debug"
           testCoverageEnabled true
        }
     }
  }
  
  
  
  project.gradle.taskGraph.whenReady {
     connectedAndroidTest {
        ignoreFailures = true
     }
  }
  </code></pre>
  
  <p>The error is </p>
  
  <pre><code>Error:(58) No such property: ignoreFailures for class: org.gradle.api.DefaultTask_Decorated
  </code></pre>
  
  <p>within this section of my build.gradle-file:</p>
  
  <pre><code>project.gradle.taskGraph.whenReady {
     connectedAndroidTest {
        ignoreFailures = true
     }
  }
  </code></pre>
  
  <p>Does anybody know if the flag <code>ignoreFailures</code> was removed or renamed? How could I solve this problem?</p>
  
  <p><strong>Edit</strong>: This is the stacktrace:</p>
  
  <pre><code>groovy.lang.MissingPropertyException: No such property: ignoreFailures for class: org.gradle.api.DefaultTask_Decorated
      at org.gradle.api.internal.plugins.ExtraPropertiesDynamicObjectAdapter.setProperty(ExtraPropertiesDynamicObjectAdapter.java:46)
      at org.gradle.api.internal.CompositeDynamicObject.setProperty(CompositeDynamicObject.java:119)
      at org.gradle.api.DefaultTask_Decorated.setProperty(Unknown Source)
      at build_bbosu6ukmbcd6hf72mh10z6fq$_run_closure3_closure14.doCall(/Users/chsc/Development/MyApplication/app/build.gradle:58)
      at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:63)
      at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:130)
      at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:110)
      at org.gradle.api.internal.AbstractTask.configure(AbstractTask.java:482)
      at org.gradle.api.internal.AbstractTask.configure(AbstractTask.java:58)
      at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:55)
      at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:130)
      at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:91)
      at org.gradle.api.internal.DefaultNamedDomainObjectCollection$ContainerElementsDynamicObject.invokeMethod(DefaultNamedDomainObjectCollection.java:324)
      at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:147)
      at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)
      at build_bbosu6ukmbcd6hf72mh10z6fq$_run_closure3.doCall(/Users/chsc/Development/MyApplication/app/build.gradle:57)
      at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:40)
      at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:25)
      at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:83)
      at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:31)
      at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      at com.sun.proxy.$Proxy9.graphPopulated(Unknown Source)
  </code></pre>