Problem with deleted class

For Parsing json i created my own class and parsed json then i got to know that pojo class is already provided then i used it instead and deleted my class MainParser but now when i do ./gradlew build then in the main.html returned by gradlew build it is showing that variable that i created in MainParser are Unwritten. I searched whole file and made sure MainParser has been deleted but still the problem is showing.

Can you do a ./gradlew clean
and rebuild again?
./gradlew build