Class extending AbstractJiraContextProvider no longer compiles for 7.13.5

I wrote a plugin using jira-api version 7.9.2

When I upgraded this version to 7.13.5, everything fell apart. I had to manually find out the dependencies that were removed from 7.13.5 and declare them again manually. When all dependencies were added, my context provider class which extended com.atlassian.jira.plugin.webfragment.contextproviders.AbstractJiraContextProvider no longer compiles. I get a :

The type com.atlassian.plugin.web.ContextProvider cannot be resolved. It is indirectly referenced from required .class files
How do I go about fixing this ?

P.S: I created a bug report for the same :https://ecosystem.atlassian.net/servicedesk/customer/portal/14/DEVHELP-3348