Skip to content

Commit cabe17b

Browse files
committed
Ensure that system tests have right JUnit Launcher version available
See gh-44780
1 parent b562829 commit cabe17b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

buildSrc/src/main/java/org/springframework/boot/build/test/SystemTestPlugin.java

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ private void configureSystemTesting(Project project) {
6464
.add(project.getConfigurations()
6565
.getByName(systemTestSourceSet.getRuntimeClasspathConfigurationName())));
6666
});
67+
project.getDependencies()
68+
.add(systemTestSourceSet.getRuntimeOnlyConfigurationName(), "org.junit.platform:junit-platform-launcher");
6769
}
6870

6971
private SourceSet createSourceSet(Project project) {

0 commit comments

Comments
 (0)