I have mentioned gson as depedndecy in pom.xml with version as below.
<dependency>
<artifactId>gson</artifactId>
<version>2.8.9</version>
<groupId>com.google.code.gson</groupId>
<scope>provided</scope>
</dependency>
Since all Latest AEM by default have GSON version with 2.8.5 and by project bundle is picking by 2.8.5 not 2.8.9. Because of this for some of the classes getting error like no method found.
Please suggest how to upgrade to 2.8.9