Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b88e3d80 authored by smain@google.com's avatar smain@google.com Committed by android-build-merger
Browse files

add workaround for annotations dependency conflict with espresso am: eee3518d

am: b5971ef6

Change-Id: Ie4f93ff85ad67fb048460a49937cbf55db575262
parents 6e2470a6 b5971ef6
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -95,6 +95,19 @@ dependencies {
}
</pre>

<div class="caution">
<p><strong>Caution:</strong> If your build configuration includes a
<code>compile</code> dependency for the <code>support-annotations</code>
library <b>and</b> an <code>androidTestCompile</code> dependency for the
<code>espresso-core</code> library, your build might fail due to a dependency
conflict. To resolve, update your dependency for <code>espresso-core</code>
as follows:</p>
<pre>
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
    exclude group: 'com.android.support', module: 'support-annotations'
})
</pre>
</div>

<p>
  To use JUnit 4 test classes, make sure to specify <a href=