Declare and apply the Spring Boot Gradle Plugin before additional Spring Gradle Plugins, such as the Spring DependencyManagement Gradle Plugin.
This commit is contained in:
@@ -26,10 +26,10 @@ class SpringSampleBootPlugin extends SpringSamplePlugin {
|
||||
@Override
|
||||
void applyAdditionalPlugins(Project project) {
|
||||
|
||||
super.applyAdditionalPlugins(project);
|
||||
|
||||
project.getPluginManager().apply("org.springframework.boot");
|
||||
|
||||
super.applyAdditionalPlugins(project);
|
||||
|
||||
project.repositories {
|
||||
maven { url 'https://repo.spring.io/milestone' }
|
||||
maven { url 'https://repo.spring.io/snapshot' }
|
||||
|
||||
Reference in New Issue
Block a user