Gradle configure with tomecat + spring framework + mongodb

Hi I am new in Gradle and i am not able to configure the tomcat in my project. how can i configure ?. I go through user guide but not able to implement in current project