Hi Tom,

Of course, this is not expected. Can you file a bug at
https://code.google.com/p/android/issues/entry?template=Tools%20bug%20report
? Please provide more detail, ideally your build.gradle file as-is.

Thanks,

Michal

On Wed, Apr 1, 2015 at 8:45 AM Tom Billiet <[email protected]> wrote:

> Hi,
>
> In our build we have some android unit tests that have external
> dependencies. We used to define this before like this:
> dependencies {
>    androidTestCompile "our:dependency:version"
> }
> This worked perfectly and all tests were run if executing "gradle
> connectedCheck"
>
> Now in 1.1/1.2 this seems to be broken. The build fails on the
> "compileDebugAndroidTestJava" task as it does not include those
> dependencies anymore.
> Is this expected? I won't expect so? I can workaround it for now by
> listing those dependencies as "debugCompile"
>
> (note: We also set "androidTest.setRoot('instrumentTest')" to move the
> location of the test folder. I'm not sure if this causes some interference?)
>
> Thanks,
> Tom
>
> --
> 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.

Reply via email to