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:
Andy Wilkinson 2015-03-19 14:22:31 +00:00
parent 0f51a53691
commit b1c0a7cda4
25 changed files with 26 additions and 26 deletions

View File

@ -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

View File

@ -235,7 +235,7 @@ endif::release[]
}
apply plugin: 'java'
apply plugin: 'spring-boot'
apply plugin: 'org.springframework.boot.spring-boot'
jar {
baseName = 'myproject'

View File

@ -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 {

View File

@ -8,7 +8,7 @@ buildscript {
}
apply plugin: 'java'
apply plugin: 'spring-boot'
apply plugin: 'org.springframework.boot.spring-boot'
repositories {
mavenLocal()

View File

@ -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'

View File

@ -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'

View File

@ -7,7 +7,7 @@ buildscript {
}
}
apply plugin: 'spring-boot'
apply plugin: 'org.springframework.boot.spring-boot'
group = 'flatdir'
version = '0.0.0'

View File

@ -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'

View File

@ -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}"

View File

@ -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'

View File

@ -15,7 +15,7 @@ subprojects {
}
}
apply plugin: 'spring-boot'
apply plugin: 'org.springframework.boot.spring-boot'
repositories {
mavenLocal()

View File

@ -8,7 +8,7 @@ buildscript {
}
project(':projectA') {
apply plugin: 'spring-boot'
apply plugin: 'org.springframework.boot.spring-boot'
repositories {
mavenLocal()
}

View File

@ -8,7 +8,7 @@ buildscript {
}
project('main') {
apply plugin: 'spring-boot'
apply plugin: 'org.springframework.boot.spring-boot'
apply plugin: 'java'
repositories {

View File

@ -7,7 +7,7 @@ buildscript {
}
}
apply plugin: 'spring-boot'
apply plugin: 'org.springframework.boot.spring-boot'
group = 'nojar'
version = '0.0.0'

View File

@ -12,7 +12,7 @@ repositories {
mavenCentral()
}
apply plugin: 'spring-boot'
apply plugin: 'org.springframework.boot.spring-boot'
apply plugin: 'java'
dependencies {

View File

@ -10,7 +10,7 @@ buildscript {
}
apply plugin: 'java'
apply plugin: 'spring-boot'
apply plugin: 'org.springframework.boot.spring-boot'
repositories {
mavenLocal()

View File

@ -10,7 +10,7 @@ buildscript {
}
apply plugin: 'java'
apply plugin: 'spring-boot'
apply plugin: 'org.springframework.boot.spring-boot'
repositories {
mavenLocal()

View File

@ -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 {

View File

@ -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"
}

View File

@ -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'

View File

@ -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'

View File

@ -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'

View File

@ -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"

View File

@ -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"