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 {