I have a separate gradle script that is just adding spring-boot plugin. It looks like this:
buildscript { repositories { mavenLocal() mavenCe
Add:
buildscript { repositories { maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath "org.springframework.boot:spring-boot-gradle-plugin:2.0.4.RELEASE" }}
Change:
apply plugin: 'spring-boot'
to:
apply plugin: "org.springframework.boot"