Daniel B Duval
02/01/2023, 3:53 PMandroid.nonTransitiveRClass
now defaults to true, which is a rather large change for us.
I went ahead and set this to false in my project’s gradle.properties
file and this work fine for all my library modules. E.g., lint and unit test work perfectly fine for each defined module. When I go to my application module and try and run lint or build, having this value set to false in the gradle.properties
now makes it so that the R
for my application module is now throwing errors that the R
for it can not be found.
Does anyone know why this is happening or of a way to get it to work so that I don’t have to do the non transitive R Class in order to avoid updating all of the references?
We use build conventions for both libraries and our application and I tried to set the property for android.nonTransitiveRClass
to false on the project there, but Gradle would throw an error that it could not set a value for an unknown property of android.nonTransitiveRClass
.