diff options
Diffstat (limited to 'server/sonar-process/build.gradle')
-rw-r--r-- | server/sonar-process/build.gradle | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/server/sonar-process/build.gradle b/server/sonar-process/build.gradle index 86cbfc591f7..63a03012d98 100644 --- a/server/sonar-process/build.gradle +++ b/server/sonar-process/build.gradle @@ -29,7 +29,16 @@ dependencies { testImplementation 'junit:junit' testImplementation 'org.assertj:assertj-core' testImplementation 'org.hamcrest:hamcrest-core' + testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.mockito:mockito-core' testImplementation 'org.awaitility:awaitility' testImplementation project(':sonar-testing-harness') + + testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine' + testRuntimeOnly 'org.junit.vintage:junit-vintage-engine' +} + +test { + // Enabling the JUnit Platform (see https://github.com/junit-team/junit5-samples/tree/master/junit5-migration-gradle) + useJUnitPlatform() } |