Skip to content

Commit 430c6b7

Browse files
committed
Downgrade to SLF4J 1.7 for spring-boot-gradle-plugin tests
The downgrade is required for tests to run in Eclipse. Closes spring-projectsgh-32626
1 parent b12fda2 commit 430c6b7

File tree

1 file changed

+4
-1
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin

1 file changed

+4
-1
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ description = "Spring Boot Gradle Plugins"
1111

1212
configurations {
1313
documentation
14+
"testCompileClasspath" {
15+
// Downgrade SLF4J is required for tests to run in Eclipse
16+
resolutionStrategy.force("org.slf4j:slf4j-api:1.7.36")
17+
}
1418
}
15-
1619
dependencies {
1720
asciidoctorExtensions("io.spring.asciidoctor:spring-asciidoctor-extensions-section-ids")
1821

0 commit comments

Comments
 (0)