From 34c7e049b1be3b4fee836082dc1940af6af97fb6 Mon Sep 17 00:00:00 2001 From: Graham Date: Mon, 13 Apr 2020 20:40:21 +0100 Subject: [PATCH] Remove duplicate junit-jupiter-api dependency with different version This fixes exceptions when we try to run JUnit tests directly in IDEA. Signed-off-by: Graham --- build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 2871ad68..efe016fa 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -98,6 +98,11 @@ configure(subprojects.filter { it.free }) { val testImplementation by configurations testImplementation(kotlin("test-junit5")) + testImplementation("org.junit.jupiter:junit-jupiter-api") { + version { + strictly(Versions.junit) + } + } } }