Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies to jUnit 4.12 or latest #115

Open
GoogleCodeExporter opened this issue Apr 15, 2015 · 1 comment
Open

Update dependencies to jUnit 4.12 or latest #115

GoogleCodeExporter opened this issue Apr 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant