aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-migration/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-db-migration/build.gradle')
-rw-r--r--server/sonar-db-migration/build.gradle6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/sonar-db-migration/build.gradle b/server/sonar-db-migration/build.gradle
index 636f278c8f8..0025201269f 100644
--- a/server/sonar-db-migration/build.gradle
+++ b/server/sonar-db-migration/build.gradle
@@ -24,6 +24,7 @@ dependencies {
testImplementation 'com.squareup.okhttp3:mockwebserver'
testImplementation 'junit:junit'
testImplementation 'org.assertj:assertj-core'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.mindrot:jbcrypt'
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.xmlunit:xmlunit-core'
@@ -34,14 +35,19 @@ dependencies {
testImplementation testFixtures(project(':server:sonar-db-core'))
testFixturesImplementation 'org.sonarsource.orchestrator:sonar-orchestrator-junit4'
+ testFixturesImplementation 'org.junit.jupiter:junit-jupiter-api'
testFixturesImplementation testFixtures(project(':server:sonar-db-core'))
testRuntimeOnly 'com.h2database:h2'
testRuntimeOnly 'com.microsoft.sqlserver:mssql-jdbc'
testRuntimeOnly 'com.oracle.database.jdbc:ojdbc11'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
+ testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
testRuntimeOnly 'org.postgresql:postgresql'
}
test {
systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl')
+ // Enabling the JUnit Platform (see https://github.com/junit-team/junit5-samples/tree/master/junit5-migration-gradle)
+ useJUnitPlatform()
}