spring-boot/spring-boot-project/spring-boot-tools
Andy Wilkinson 86818b0e45 Ensure that junit-platform-launcher is on classpath
When testing with Gradle 7.6, junit-platform-launcher won't be
on the test runtime classpath unless it's declared as a dependency.
When testing with Gradle 8.x the dependency is added implicitly but
starting with Gradle 8.3 relying on this will result in a warning.

When junit-platform-launcher is absent, a failure occurs when testing
with Gradle as the class loader structure is such that JUnit tries
to load any test execution listeners, finds the listener declared in
spring-boot-actuator-autoconfigure but cannot then load the
implemented TestExecutionListener interface.

This problem is addressed by augmenting the component metadata for
spring-boot-starter-test to add a dependency on
junit-platform-launcher. This addresses the problem with
spring-boot-actuator-autoconfigure while also addressing a warning
with Gradle 8.3+.

Closes gh-43340
2025-01-17 16:01:41 +00:00
..
spring-boot-antlib Merge branch '3.3.x' 2025-01-02 12:22:59 +00:00
spring-boot-autoconfigure-processor Merge branch '3.3.x' 2024-10-18 10:49:15 -07:00
spring-boot-buildpack-platform Restore use of fixed version when calling docker APIs 2024-12-10 13:14:20 -08:00
spring-boot-cli Merge branch '3.3.x' 2025-01-02 12:22:59 +00:00
spring-boot-configuration-metadata Apply conventions plugin to all subprojects 2024-09-24 14:26:32 -07:00
spring-boot-configuration-metadata-changelog-generator Merge branch '3.2.x' into 3.3.x 2024-09-24 14:29:09 -07:00
spring-boot-configuration-processor Polish 2024-12-13 13:29:20 -08:00
spring-boot-gradle-plugin Ensure that junit-platform-launcher is on classpath 2025-01-17 16:01:41 +00:00
spring-boot-gradle-test-support Raise the minimum supported version of Gradle to 8.4 2024-10-01 17:23:24 +01:00
spring-boot-jarmode-tools Merge branch '3.3.x' 2024-12-06 19:01:30 -08:00
spring-boot-loader Consistently return non-zero exit codes for jarmode failures 2024-12-06 19:00:50 -08:00
spring-boot-loader-classic Merge branch '3.3.x' 2024-12-13 19:03:48 -08:00
spring-boot-loader-tools Merge branch '3.3.x' 2024-11-04 13:15:27 +00:00
spring-boot-maven-plugin Merge branch '3.3.x' 2024-12-29 10:30:30 +01:00
spring-boot-properties-migrator Merge branch '3.2.x' into 3.3.x 2024-09-24 14:29:09 -07:00
spring-boot-test-support Merge branch '3.3.x' into 3.4.x 2025-01-08 15:45:54 -08:00
spring-boot-test-support-docker Update version of Pulsar test container image 2024-12-16 16:09:55 -08:00