Can I ignore the Proguard note, but not the com.google.gson.Gson descriptor class?

Although I know that I can suppress these notes using

-dontnote okhttp3.**, okio.**, retrofit2.**

I want to know from my fellow developers whether it is really possible to ignore notes coming from my proguard magazines

Note: the entry point 'okhttp3.ResponseBody {okhttp3.ResponseBody creation (okhttp3.MediaType, long, okio.BufferedSource);}' , but not the descriptor class 'okio.BufferedSource', is saved in the configuration

Similarly, I get the following from retrofit2

Note: the entry point 'retrofit2.converter.gson.GsonRequestBodyConverter {GsonRequestBodyConverter (com.google.gson.Gson, com.google.gson.TypeAdapter) is saved in the configuration; } ', but not the descriptor class' com.google.gson.Gson'

+4
source share

Source: https://habr.com/ru/post/1686521/


All Articles