mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
[build.gradle] Add junit-platform-launcher add testRuntimeOnly
Fixes NoSuchMethodError: 'java.util.Set org.junit.platform.engine.TestDescriptor.getAncestors() when running unit tests in Eclipse.
This commit is contained in:
parent
617d1bfff2
commit
1bf0aed0f5
1 changed files with 2 additions and 0 deletions
|
@ -313,6 +313,8 @@ tasks.withType(Javadoc) {
|
|||
testFixturesApi "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
||||
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
|
||||
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
|
||||
// https://stackoverflow.com/a/77274251/194894
|
||||
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
|
||||
|
||||
// The smack-extensions subproject uses mockito in its fest
|
||||
// fixtures, and we want to have mockito also available in
|
||||
|
|
Loading…
Reference in a new issue