From d0c692c2e8e7d66a3f9faba609c50256a1018f0f Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Sat, 18 May 2019 08:47:18 +0100 Subject: [PATCH] Add junit5 to build infra - Fixes #772 --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) 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