From 9bad6feab48e4bb8850ff931c2495503a11e0000 Mon Sep 17 00:00:00 2001 From: Louis Bergelson Date: Tue, 16 Mar 2021 13:56:18 -0400 Subject: [PATCH] Exclude unintentional transitive junit dependency (#1542) * A bug in the .pom of our new dependency mjson accidentally includes junit as a runtime dependency * This excludes it manually so we don't package it. --- build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 6a568dfcbf..b71a5af835 100644 --- a/build.gradle +++ b/build.gradle @@ -37,7 +37,9 @@ dependencies { compile "org.apache.commons:commons-compress:1.19" compile 'org.tukaani:xz:1.8' compile "gov.nih.nlm.ncbi:ngs-java:2.9.0" - compile 'org.sharegov:mjson:1.4.1' + compile ('org.sharegov:mjson:1.4.1') { + exclude group: "junit" + } testCompile "org.scala-lang:scala-library:2.12.8" testCompile "org.scalatest:scalatest_2.12:3.0.5"