Skip to content

Commit 14c18bb

Browse files
committed
Add dependency order warning to README
1 parent de01c35 commit 14c18bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ The library has independent developers, release cycle and versioning from core m
2323
* Repositories: [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cmockito-scala_2.12) or [JFrog's Bintray](https://bintray.com/mockito/maven/mockito-scala)
2424

2525

26+
**IMPORTANT!** mockito-scala will pull the right version of mockito-core as a transitive dependency,
27+
but if for some reason you'd like to have both libraries explicitly declared in your build file, please make sure
28+
you declare mockito-core first, as we currently rely on a class loader hack to make by-name arguments work.
29+
30+
2631
For a more detailed explanation of the features please read [this](https://medium.com/@bbonanno_83496/introduction-to-mockito-scala-ede30769cbda) article series
2732

2833

0 commit comments

Comments
 (0)