robospock / RoboSpock

A testing framework which brings powers of Spock and Groovy to Android app testing
http://robospock.org
MIT License
249 stars 44 forks source link

Error:Class com.android.build.gradle.internal.scope.VariantScopeImpl does not implement the requested interface com.android.build.gradle.internal.scope.BaseScope #61

Closed henriquedesousa closed 8 years ago

henriquedesousa commented 8 years ago

If the android gradle plugin is updated to 2.2.0-alpha5, we're start getting the following error while syncing gradle files:

Error:Class com.android.build.gradle.internal.scope.VariantScopeImpl does not implement the requested interface com.android.build.gradle.internal.scope.BaseScope

If we comment out the plugin, it will work.

classpath 'org.codehaus.groovy:gradle-groovy-android-plugin:0.3.10' apply plugin: 'groovyx.grooid.groovy-android'

I've gisted a logfile with the corresponding error messages: https://gist.github.com/henriquedesousa/61fe25cb273637eacaaef2fa27532abb

pjakubczyk commented 8 years ago

The groovyx.grooid.groovy-android is a separate project on which RoboSpock depends.

Please follow releases of groovy plugin by watching this repository https://github.com/groovy/groovy-android-gradle-plugin

Closing as it's not problem of RoboSpock itself. Thanks for using my library !

henriquedesousa commented 8 years ago

Thank you for pointing me in the right direction 👍