Update dependencies to jUnit 4.12 or latest
Opened this issue · 2 comments
GoogleCodeExporter commented
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 kucheren...@gmail.com
on 5 Jan 2015 at 10:12
GoogleCodeExporter commented
I am facing a similar problem - but espresso is not working with espresso 1.3 (
I do not see the 1.4 you mention here in
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.hamcrest%22%20AND%20a%3A%
22hamcrest-core%22 )
http://stackoverflow.com/questions/28563768/espresso-with-hamcrest-1-3
Original comment by mr.l...@googlemail.com
on 17 Feb 2015 at 3:45
GoogleCodeExporter commented
Original comment by nkors...@google.com
on 5 May 2015 at 5:48
- Changed state: Accepted