No-arg compiler plugin incompatible with Firebase in Andorid


When querying Firebase you can cast the result into a class using DataSnapshot.getValue(Class aClass) but Firebase need, similarly to JPA, a no arguments constructor and all getters and setters.
The No-arg compiler plugin seems to be the answer but when trying to cast the result into a data class: Class does not define a no-argument constructor. If you are using ProGuard, make sure these constructors are not stripped.

To solve my issue i went for this solution. Any idea why it’s not working?