How to build a gradle web project via Spring Source Tool?

I imported a gradle project to STS and now there is not the option run to a server. If I create a Dynamic Web Project I can get this option but this is not the case with the sample from Pro Spring MVC With Web Flow which I have imported and I am sure that the sample is working because I builded by command line succesfully via gradle but I can’t via STS. Is there some marven depency I should install?