Skip to content

Commit 3d75f99

Browse files
aSemymarcphilipp
authored andcommitted
Use Gradle because to document junit-platform-launcher dependency
Closes #2783
1 parent 4ef6e70 commit 3d75f99

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

documentation/src/docs/asciidoc/user-guide/running-tests.adoc

+3-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ include the corresponding versions of the `junit-platform-launcher`,
2929
[subs=attributes+]
3030
----
3131
testImplementation(platform("org.junit:junit-bom:{bom-version}"))
32-
// Only needed to run tests in a version of IntelliJ IDEA that bundles older versions
33-
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
32+
testRuntimeOnly("org.junit.platform:junit-platform-launcher") {
33+
because("Only needed to run tests in a version of IntelliJ IDEA that bundles older versions")
34+
}
3435
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
3536
testRuntimeOnly("org.junit.vintage:junit-vintage-engine")
3637
----

0 commit comments

Comments
 (0)