I have a separate gradle script that is just adding spring-boot plugin. It looks like this:
buildscript { repositories { mavenLocal() mavenCe
Starting from SpringBoot 1.4.0.RELEASE the plugin package has been slightly changed.
apply plugin: org.springframework.boot.gradle.plugin.SpringBootPlugin