【Spring】spring-boot-gradle-plugin 版本问题
The plugin id 'spring-boot' is deprecated. Please use 'org.springframework.boot' instead.apply plugin: 'spring-boot' ---此ID支持所有版本buildscript {dependencies {classpath("org.springframework.boot:spring-b
·
The plugin id 'spring-boot' is deprecated. Please use 'org.springframework.boot' instead.
apply plugin: 'spring-boot' ---1.4.1.RELEASE及更早版本使用此ID,2.0.0.RELEASE及后续版本不支持
buildscript {
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.1.RELEASE")
classpath "io.spring.gradle:dependency-management-plugin"
}
}
apply plugin: 'org.springframework.boot' ---1.4.2.RELEASE及后续版本可以使用此ID
buildscript {
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.2.RELEASE")
classpath "io.spring.gradle:dependency-management-plugin"
}
}
PS:
Gradle plugin:https://plugins.gradle.org/m2/
更多推荐
已为社区贡献1条内容
所有评论(0)