The conflict arises from discrepancies between different versions of GSON.
My suggestion would be to remove your dependency on GSON 2.8.6 and opt for a different approach. Instead of using the static method JsonParser.parseString, you can create a JsonParser object and then use the parse method.
JsonParser jsonParser = new JsonParser();
jsonParser.parse(jsonString)