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

Updates Deprecated Gradle Configuration & adds 3.x import for java8 #53

Merged
merged 1 commit into from
Mar 31, 2021

Conversation

nikhil-seth
Copy link
Contributor

@nikhil-seth nikhil-seth commented Mar 31, 2021

Solves #52
Earlier website showed testCompilation, which has been deprecated.
This is now replaced by testImplementation.

Also, way to import mockito 3.0 has been added.

dependencies { testImplementation "org.mockito:mockito-core:2.+" }
// If using Java 8
dependencies { testImplementation "org.mockito:mockito-core:3.+" }
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's simplify this and replace just the 2 with a 3 now that I think of it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done 👍

Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

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

Thanks!

@TimvdLippe TimvdLippe merged commit 04a43b0 into mockito:master Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants