You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Normally, the Spring Boot 2 Gradle Plugin would not be compatible with Gradle 9+
21
+
// To get around this issue, we use the dependency-management plugin in isolation
22
+
// as described here: https://docs.spring.io/spring-boot/docs/2.7.7/gradle-plugin/reference/htmlsingle/#managing-dependencies.dependency-management-plugin.using-in-isolation
23
+
// This way, we get proper test execution and realistic version resolution on Gradle 9
24
+
id 'org.springframework.boot' version "2.7.18" apply false
18
25
id "io.spring.dependency-management" version "1.1.7"
19
-
id 'org.springframework.boot' version "2.7.18"
26
+
}
27
+
28
+
dependencyManagement {
29
+
imports {
30
+
mavenBom SpringBootPlugin.BOM_COORDINATES
31
+
}
20
32
}
21
33
22
34
// Spring dependency management downgrades the jupiter version to 5.7.2 otherwise
0 commit comments