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

Maybe it should simply show testRuntimeOnly? Or maybe it was necessary but is not anymore? Or maybe it is just a doc bug?

I suggest you open an issue on GitHub, then the Gradle folks can have a look and clarify or fix it.