I have a separate gradle script that is just adding spring-boot plugin. It looks like this:
buildscript { repositories { mavenLocal() mavenCe
could it be, that you don't have a @SpringBootApplication with a main(String[] main) on your classpath ??