I have a final class, something like this:
public final class RainOnTrees{ public void startRain(){ // some code here } }
I
For us, it was because we excluded mockito-inline from koin-test. One gradle module actually needed this and for reason only failed on release builds (debug builds in the IDE worked) :-P