diff options
Diffstat (limited to 'server/sonar-ce-task/build.gradle')
-rw-r--r-- | server/sonar-ce-task/build.gradle | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/server/sonar-ce-task/build.gradle b/server/sonar-ce-task/build.gradle index c7d1127bc1d..ade8647bbd6 100644 --- a/server/sonar-ce-task/build.gradle +++ b/server/sonar-ce-task/build.gradle @@ -36,6 +36,7 @@ dependencies { testImplementation 'org.apache.logging.log4j:log4j-api' testImplementation 'org.apache.logging.log4j:log4j-core' testImplementation 'org.assertj:assertj-guava' + testImplementation 'org.junit.jupiter:junit-jupiter-api' testImplementation 'org.mockito:mockito-core' testImplementation 'org.reflections:reflections' testImplementation 'org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures' @@ -44,4 +45,12 @@ dependencies { testFixturesApi 'org.assertj:assertj-core' testFixturesCompileOnly 'com.google.code.findbugs:jsr305' + + 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() } |