Can't find mockito on the Library dependency

If I had to add mockito manually, how should it be done?

thx in advance

For non-Google libraries, I usually navigate to their website. There will usually be a gradle dependency string that you can copy and paste into your project.

There is one on the Mockito webpage:

1 Like

Hi @cstewart,
I noticed that compile has been replaced by implementation and testCompile by testImplementation. I’m curious to know more about these changes as the 3rd edition uses the older verbiage and Google searches for the distinctions doesn’t yield crystal clear answers

@asett there’s some documentation on that change here:

There was also a Google IO talk last year where Google explained this change in a little more detail.

I hope that helps!