I think what happens is that there really is a problem with us pulling the
provided dependencies into the app test somehow. I need to investigate this
further.
When you write in your build.gradle
configurations {
provided
}
I'm guessing it's just ignoring it since it already exist, so it's going to
use the one created by Android anyway.
On Wed, Apr 2, 2014 at 2:21 PM, Scott Battaglia
<[email protected]>wrote:
> I apologize this may have been related to user error. I had re-defined
> "provided" since I hadn't noticed it in plugin documentation. But having
> seen it in the release notes, I've removed it and it the problem seems to
> have gone away. I don't know, however, if that means you guys are pulling
> in all custom configurations or if this was just a fluke because I
> re-defined an existing one.
>
>
>
> On Wed, Apr 2, 2014 at 4:58 PM, Scott Battaglia <[email protected]
> > wrote:
>
>> Ah, okay, I thought I remembered seeing that but couldn't find it in the
>> plugin documentation (found it in the release notes after I saw your email).
>>
>> Let me know if you need any output from the build.
>>
>> Thanks
>> Scott
>>
>>
>> On Wed, Apr 2, 2014 at 4:42 PM, Xavier Ducrohet <[email protected]> wrote:
>>
>>> The new plugin uses provided for compile-only dependencies.
>>>
>>> That said they shouldn't be used for instrumentation test, but I'm
>>> looking now and I can see how this could happen. I'll take a look at fixing
>>> this.
>>>
>>>
>>> On Wed, Apr 2, 2014 at 12:13 PM, Scott Battaglia <
>>> [email protected]> wrote:
>>>
>>>> I don't know if its just the naming convention I'm using or not, but
>>>> I've got some custom configurations in my build.gradle:
>>>>
>>>> configurations {
>>>> provided
>>>> }
>>>>
>>>> and then I define as a dependency:
>>>> provided "org.robolectric:robolectric:$ROBOLECTRIC_VERSION"
>>>>
>>>> This is apparently being included when dexing for instrumentation
>>>> tests. Is that to be expected?
>>>>
>>>> I tried checking the documentation but nothing jumped out at me.
>>>>
>>>> Thanks
>>>> Scott
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "adt-dev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Xavier Ducrohet
>>> Android SDK Tech Lead
>>> Google Inc.
>>> http://developer.android.com | http://tools.android.com
>>>
>>> Please do not send me questions directly. Thanks!
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "adt-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com
Please do not send me questions directly. Thanks!
--
You received this message because you are subscribed to the Google Groups
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.