Skip to content

Commit fba4ed2

Browse files
committed
Declare and apply the Spring Boot Gradle Plugin before additional Spring Gradle Plugins, such as the Spring DependencyManagement Gradle Plugin.
1 parent 2f9d5df commit fba4ed2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildSrc/src/main/groovy/io/spring/gradle/convention/SpringSampleBootPlugin.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ class SpringSampleBootPlugin extends SpringSamplePlugin {
2626
@Override
2727
void applyAdditionalPlugins(Project project) {
2828

29-
super.applyAdditionalPlugins(project);
30-
3129
project.getPluginManager().apply("org.springframework.boot");
3230

31+
super.applyAdditionalPlugins(project);
32+
3333
project.repositories {
3434
maven { url 'https://repo.spring.io/milestone' }
3535
maven { url 'https://repo.spring.io/snapshot' }

0 commit comments

Comments
 (0)