Upgrade Gradle plugin’s ID so it’s suitable for the Plugin Portal
Gradle’s plugin portal requires each plugin’s ID to be in a namespace. Our existing ID, spring-boot, does not meet this requirement. This commit changes the plugin’s ID to org.springframework.boot.spring-boot. Note that, as is recommended [1], the plugin’s ID does not include “gradle”. See gh-1567 [1] http://plugins.gradle.org/submit
This commit is contained in:
parent
0f51a53691
commit
b1c0a7cda4
|
|
@ -182,7 +182,7 @@ the `spring-boot` plugin:
|
|||
classpath("org.springframework.boot:spring-boot-gradle-plugin:{spring-boot-version}")
|
||||
}
|
||||
}
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
----
|
||||
|
||||
If you are using a milestone or snapshot release you will also need to add appropriate
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ endif::release[]
|
|||
}
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
jar {
|
||||
baseName = 'myproject'
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ managed by Spring Boot:
|
|||
}
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
repositories { jcenter() }
|
||||
dependencies {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ buildscript {
|
|||
}
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ buildscript {
|
|||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
jar {
|
||||
baseName = 'classifier-extension'
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ buildscript {
|
|||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
jar {
|
||||
baseName = 'classifier'
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ buildscript {
|
|||
}
|
||||
}
|
||||
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
group = 'flatdir'
|
||||
version = '0.0.0'
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ buildscript {
|
|||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
group = 'installer'
|
||||
version = '0.0.0'
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ buildscript {
|
|||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
group = 'installer'
|
||||
version = '0.0.0'
|
||||
|
|
@ -17,7 +17,7 @@ version = '0.0.0'
|
|||
install {
|
||||
repositories.mavenInstaller {
|
||||
pom.project {
|
||||
parent {
|
||||
parent {
|
||||
groupId 'org.springframework.boot'
|
||||
artifactId 'spring-boot-starter-parent'
|
||||
version "${project.bootVersion}"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ buildscript {
|
|||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
group = 'installer'
|
||||
version = '0.0.0'
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ subprojects {
|
|||
}
|
||||
}
|
||||
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ buildscript {
|
|||
}
|
||||
|
||||
project(':projectA') {
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
repositories {
|
||||
mavenLocal()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ buildscript {
|
|||
}
|
||||
|
||||
project('main') {
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
apply plugin: 'java'
|
||||
|
||||
repositories {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ buildscript {
|
|||
}
|
||||
}
|
||||
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
group = 'nojar'
|
||||
version = '0.0.0'
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ repositories {
|
|||
mavenCentral()
|
||||
}
|
||||
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
apply plugin: 'java'
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ buildscript {
|
|||
}
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ buildscript {
|
|||
}
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ dependencies {
|
|||
springBootStarter "org.springframework.boot:${project.starter}:${project.bootVersion}"
|
||||
}
|
||||
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
task checkCommonsLogging {
|
||||
doFirst {
|
||||
|
|
|
|||
|
|
@ -14,10 +14,10 @@ repositories {
|
|||
mavenCentral()
|
||||
}
|
||||
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
apply plugin: 'war'
|
||||
|
||||
dependencies {
|
||||
dependencies {
|
||||
compile 'org.springframework.boot:spring-boot-starter-freemarker'
|
||||
providedRuntime "org.springframework.boot:spring-boot-starter-$servletContainer"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ buildscript {
|
|||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
jar {
|
||||
baseName = 'spring-boot-sample-actuator'
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ buildscript {
|
|||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
jar {
|
||||
baseName = 'spring-boot-sample-profile'
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ buildscript {
|
|||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
jar {
|
||||
baseName = 'spring-boot-sample-simple'
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ buildscript {
|
|||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse-wtp'
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
apply plugin: 'war'
|
||||
|
||||
mainClassName = "sample.ui.SampleWebStaticApplication"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ buildscript {
|
|||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'spring-boot'
|
||||
apply plugin: 'org.springframework.boot.spring-boot'
|
||||
|
||||
mainClassName = "sample.ui.SampleWebUiApplication"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue