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.3"
annotationProcessor "com.google.auto.value:auto-value:1.6.3"
androidx version - 1.0.0
I have enabled the following in my gradle.properties as well.
android.useAndroidX=true
android.enableJetifier=true
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.3"
annotationProcessor "com.google.auto.value:auto-value:1.6.3"
androidx version - 1.0.0
I have enabled the following in my gradle.properties as well.
android.useAndroidX=true
android.enableJetifier=true