Skip to content

Commit

Permalink
Use Gradle because to document junit-platform-launcher dependency
Browse files Browse the repository at this point in the history
Closes #2783
  • Loading branch information
aSemy authored and marcphilipp committed Nov 28, 2021
1 parent 4ef6e70 commit 3d75f99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions documentation/src/docs/asciidoc/user-guide/running-tests.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ include the corresponding versions of the `junit-platform-launcher`,
[subs=attributes+]
----
testImplementation(platform("org.junit:junit-bom:{bom-version}"))
// Only needed to run tests in a version of IntelliJ IDEA that bundles older versions
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.platform:junit-platform-launcher") {
because("Only needed to run tests in a version of IntelliJ IDEA that bundles older versions")
}
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testRuntimeOnly("org.junit.vintage:junit-vintage-engine")
----
Expand Down

0 comments on commit 3d75f99

Please sign in to comment.