diff --git a/build.gradle b/build.gradle index 485efdb7..90038846 100644 --- a/build.gradle +++ b/build.gradle @@ -111,6 +111,7 @@ configure(allprojects) { } test { + useJUnitPlatform() exclude '**/*IntegrationTests.*' } } @@ -118,6 +119,12 @@ configure(allprojects) { configure(subprojects) { subproject -> apply from: "${rootProject.projectDir}/publish-maven.gradle" + dependencies { + testCompile("org.junit.jupiter:junit-jupiter-api") + testRuntime("org.junit.jupiter:junit-jupiter-engine") + testRuntime("org.junit.vintage:junit-vintage-engine") + } + jar { manifest.attributes['Implementation-Title'] = subproject.name manifest.attributes['Implementation-Version'] = subproject.version