You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. include espresso package via gradle dependecy line
2. execute :dependencies task on project
What is the expected output? What do you see instead?
- espresso should use latest jUnit 4.12 instead of jUnit:junit-dep
What version of the product are you using? On what operating system?
- v2.0
- windows 8.1 x64
- android studio latest
Please provide any additional information below.
rigth now I use workaround:
configurations.all {
exclude group: 'junit', module: 'junit-dep'
}
dependencies {
...
/* Hamcrest (v1.4) */
androidTestCompile 'org.hamcrest:hamcrest-core:+',
'org.hamcrest:hamcrest-library:+',
'org.hamcrest:hamcrest-integration:+'
/* jUnit (v4.12) */
androidTestCompile('junit:junit:4.12') { exclude group: 'org.hamcrest' }
androidTestCompile('com.android.support.test:testing-support-lib:+') {
exclude group: 'junit'
exclude group: 'org.hamcrest'
}
...
}
Original issue reported on code.google.com by [email protected] on 5 Jan 2015 at 10:12
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 5 Jan 2015 at 10:12The text was updated successfully, but these errors were encountered: