Why do Gradle docs specify "junit-platform-launcher" for JUnit 5 tests?

I assume if you do not provide that dependency yourself, the runner (gradle or intellij) will their own runner version. I just ran into an issue after upgrading to spring boot 3.5.0 that those versions were misaligned. Adding the test runtime only fixed the issue for me

    testImplementation("org.junit.jupiter:junit-jupiter")
    testRuntimeOnly("org.junit.platform:junit-platform-launcher")

Before the error message was

OutputDirectoryProvider not available; probably due to unaligned versions of the junit-platform-engine and junit-platform-launcher jars on the classpath/module path.