From 0c084d02589efe92f425e2921878e68e501ddd22 Mon Sep 17 00:00:00 2001 From: labkey-susanh Date: Tue, 22 Sep 2020 14:55:55 -0700 Subject: [PATCH] Add missing dependencies on opencsv and httpmime that used to be leaking out of the labkey-client-api. Since both of these dependencies are included in the api module transitively, we compromise a bit and do not include them in the jars.txt for each individual module. --- Viral_Load_Assay/build.gradle | 1 + ehr/build.gradle | 1 + 2 files changed, 2 insertions(+) diff --git a/Viral_Load_Assay/build.gradle b/Viral_Load_Assay/build.gradle index 17d617b4a..6d87fdfa4 100644 --- a/Viral_Load_Assay/build.gradle +++ b/Viral_Load_Assay/build.gradle @@ -2,6 +2,7 @@ import org.labkey.gradle.util.BuildUtils; dependencies { external "org.apache.commons:commons-math3:${commonsMath3Version}" + implementation "net.sf.opencsv:opencsv:${opencsvVersion}" BuildUtils.addLabKeyDependency(project: project, config: "implementation", depProjectPath: ":server:modules:LabDevKitModules:LDK", depProjectConfig: "apiJarFile") BuildUtils.addLabKeyDependency(project: project, config: "implementation", depProjectPath: ":server:modules:LabDevKitModules:laboratory", depProjectConfig: "apiJarFile") } diff --git a/ehr/build.gradle b/ehr/build.gradle index a235fd44c..0a0325d7d 100644 --- a/ehr/build.gradle +++ b/ehr/build.gradle @@ -3,6 +3,7 @@ import org.labkey.gradle.util.BuildUtils dependencies { apiImplementation "org.apache.tomcat:tomcat-jsp-api:${apacheTomcatVersion}" implementation "com.sun.mail:jakarta.mail:${javaMailVersion}" + implementation "net.sf.opencsv:opencsv:${opencsvVersion}" BuildUtils.addLabKeyDependency(project: project, config: "implementation", depProjectPath: ":server:modules:LabDevKitModules:LDK", depProjectConfig: "apiJarFile") BuildUtils.addLabKeyDependency(project: project, config: "apiImplementation", depProjectPath: ":server:modules:LabDevKitModules:LDK", depProjectConfig: "apiJarFile") }