I have an Android project which uses Autovalue to generate some of its models. I am attempting to move from the old com.android.support.*
to the new androidx.*
dependencies.
I know that in the Android Gradle Plugin 3.2+ it attempts to replace all occurrences of the old support dependencies, but this doesn't seem to extend to the interfaces that are generated by Autovalue. These interfaces still reference android.support.annotation.NonNull
and android.support.annotation.Nullable
, instead of androidx.annotation.*
'com.android.tools.build:gradle:3.2.1'
implementation "com.google.auto.value:auto-value-annotations:1.6.2"
annotationProcessor "com.google.auto.value:auto-value:1.6.2"
androidx version - 1.0.0
I have very little experience with these annotation processors, if there is any other information that might be relevant, please let me know.
Thanks for your suggestions.