Android - unit tests not runnings when mock final classes file added

Hi, I was following this blog to mock final classes: https://antonioleiva.com/mockito-2-kotlin/
After adding the org.mockito.plugins.MockMaker file, the unit tests are not running when I run from command line: “./gradlew test” or “./gradlew testDebugUnitTest”
If I delete this file, the tests are runnings from command line, but it fails since it cant mock final classes.
Any suggestions?

Thanks