Is there any configuration to turn this warnings in errors when you're running gradlew lint check?
The example message is like this:
w: warning: viewModel.progressVisibility.getValue() is a boxed field but needs to be un-boxed to execute android:visibility.