eduyubero / android-test-kit

Automatically exported from code.google.com/p/android-test-kit
0 stars 0 forks source link

Upgrade Hamcrest dependency to lastest version #72

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Upgrade Espresso's Hamcrest dependency to lastest version.

Original issue reported on code.google.com by YogurtE...@gmail.com on 12 May 2014 at 5:46

GoogleCodeExporter commented 9 years ago
Just wondering - is this for using new features in latest hamcrest or for some 
other purpose?

Original comment by vale...@google.com on 9 Jun 2014 at 10:11

GoogleCodeExporter commented 9 years ago
New features of hamcrest, I think StringContains is only in 1.3+ 
http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/core/StringContains.ht
ml

Original comment by YogurtE...@gmail.com on 11 Jun 2014 at 3:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
looks like I can modify my build.gradle to look like this:

androidTestCompile 'org.hamcrest:java-hamcrest:2.0.0.0'
    androidTestCompile ('com.android.support.test.espresso:espresso-core:2.0') {
        exclude group: 'org.hamcrest'
    }
    androidTestCompile ('com.android.support.test:testing-support-lib:0.1') {
        exclude group: 'org.hamcrest'
    }

And get new features of hamcrest working.

Original comment by eric.b.h...@gmail.com on 24 Feb 2015 at 11:11

GoogleCodeExporter commented 9 years ago
Issue 124 has been merged into this issue.

Original comment by vale...@google.com on 18 Mar 2015 at 5:52