Is there setting for kotlin plugin that it will use androidx null aware annotations instead of the JetBrains version?
a
Alexey Belkov [JB]
08/14/2020, 11:44 AM
What do you mean by "use"? AFAIK recent Kotlin already understands many kinds of nullability annotations, including Android ones.
e
Eugen Martynov
08/14/2020, 12:09 PM
it generates a method called from kotlin it set null annotation based on kotlin knowledge about nullability. So it sets JetBrains variant instead of AndroidX dependency that is used everywhere in project.
Eugen Martynov
08/14/2020, 12:10 PM
I'm not sure if it is new code or old one (when plugin was not yet smart enough)
a
Alexey Belkov [JB]
08/14/2020, 4:33 PM
Sorry, I don't understand. Can you please share a code sample or screenshot of the problem?