I'd like to build obfuscated AAR library which makes use of Android data binding. When I use the library with minifyEnabled false my library build successfully and my testing app works , after enabling ProGuard the testing app doesn't compile since BR fields in the generated data binding classes can't be found.
Error: Cannot resolve type for vm
In layout ::
<data>
<variable
name="vm"
type="com.XXX.ViewModel"/>
</data>