Closed
Description
buildscript {
repositories {
mavenCentral()
mavenLocal()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" }
maven { url "http://repo.spring.io/release" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.10.RELEASE")
}
}
apply plugin: "spring-boot"
Plugin with id 'spring-boot' not found.
however, add this replace the above,
plugins {
id 'org.springframework.boot' version '1.5.10.RELEASE'
}
error: Cannot resolve external dependency org.springframework.boot:spring-boot-starter-parent:1.5.10.RELEASE because no repositories are defined.