Hum, Yeap my test folder is named androidTest since normal JAR dependencies 
are working.



On Friday, March 7, 2014 4:54:52 PM UTC-8, sbarta wrote:
>
> I tried this earlier today with Studio 0.5.0 and it was working for me. 
> With androidTestCompile, I was able to access the library from java sources 
> under src/androidTest (is this what your test folder is named?), but not in 
> src/main/java.
>
>
> On Fri, Mar 7, 2014 at 4:00 PM, Nicolas Milliard 
> <[email protected]<javascript:>
> > wrote:
>
>> Hello,
>>
>> I am having an issue using androidTestCompile with AAR dependencies (Jar 
>> deps are working) using:
>> * Gradle 1.11 
>> * Gradle Android Tool plugin 0.9.0
>>
>> How to reproduce
>> ->   Use any AAR dependency with the '"androidTestCompile" scope , like 
>> androidTestCompile  'com.jakewharton.espresso:espresso:1.1-r2'
>>
>> Actual result
>> -> The java classes are not accessible from the android test source code
>>
>> When did this bug start happening?
>> -> I noticed it starting from 0.9.0, might have been present sooner 
>> though.
>>
>> When does the bug occur?
>> -> Always
>>
>> Describe any workarounds you have found
>> -> Change the scope to "compile" solves it but not an appropriate solution
>>  
>> -- 
>> 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] <javascript:>.
>> 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.

Reply via email to