JakeWharton / sdk-manager-plugin

DEPRECATED Gradle plugin which downloads and manages your Android SDK.
Apache License 2.0
1.41k stars 142 forks source link

espresso-2.0 and testing-support-lib are not picked up as support library dependencies #63

Closed marcin-kozinski closed 9 years ago

marcin-kozinski commented 9 years ago

I'm not sure if that's this plugin's fault or Google's for naming choices. Anyway, the newly added testing libraries in support repository, like espresso-2.0 and testing-support-lib, are not picked up by the plugin as part of the support library dependencies.

In my case it makes builds on my CI server to fail after switching to the new AndroidJUnitRunner, because plugin decides there are no missing dependencies from support repository and doesn't refresh it, but Gradle later fails because it can't find com.android.support.test:testing-support-lib:0.1.

The problem is of course those new dependencies use group com.android.support.test instead of just com.android.support. It could be fixed in the plugin by looking for dependencies with group starting with com.android.support or by whitelisting com.android.support.test as second accepted group. However, I don't have an opinion on which of the two (if any) is the correct course of action.

brennantaylor commented 9 years ago

:+1:

brennantaylor commented 9 years ago

Looks like some of the new google play services 6.5 components are not handled either if you just pull in maps for instance.

Nkzn commented 9 years ago

:+1: I have same problem.

blundell commented 9 years ago

:+1: