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: gradle indications were outdated #241

Merged
merged 10 commits into from
Jan 18, 2019
4 changes: 2 additions & 2 deletions ui/espresso/IdlingResourceSample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Consider using the CountingIdlingResource class from the espresso-contrib packag
Note that the `espresso-idling-resource` dependency is added into the `compile` scope:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change this to 'implementation' scope too ?


```
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
compile 'com.android.support.test.espresso:espresso-idling-resource:2.2.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the maven artifact references are also out of date. Would you mind updating the references to

androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
implementation 'androidx.test.espresso:espresso-idling-resource:3.1.1'

implementation 'com.android.support.test.espresso:espresso-idling-resource:2.2.2'
```

This dependency and its implementation are added to the app under test but are not needed in production. This bloats the released app but it's kept this way to simplify the sample. You can:
Expand Down