From bb33912f45b4823b3eb376bff2a9d366b47cf3e1 Mon Sep 17 00:00:00 2001 From: Mads Hansen Date: Thu, 2 Nov 2023 12:42:11 -0400 Subject: [PATCH] Add shadow to ensure that dependencies are bundled in the fat jar Bump version --- build.gradle | 4 ++++ gradle.properties | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index d93abee2..3afba370 100644 --- a/build.gradle +++ b/build.gradle @@ -87,10 +87,14 @@ dependencies { api 'com.marklogic:marklogic-xcc:11.1.0' // JavaScript libraries are bundled in a fat jar for the UI implementation "org.webjars:angularjs:$angularVersion" + shadow "org.webjars:angularjs:$angularVersion" implementation "org.webjars:bootstrap:$bootstrapVersion" + shadow "org.webjars:bootstrap:$bootstrapVersion" implementation "org.webjars:jquery:$jqueryVersion" + shadow "org.webjars:jquery:$jqueryVersion" // externalsortinginjava classes with the corb distro in a fat jar implementation "com.google.code.externalsortinginjava:externalsortinginjava:$externalsortinginjavaVersion" + shadow "com.google.code.externalsortinginjava:externalsortinginjava:$externalsortinginjavaVersion" testImplementation group: 'junit', name: 'junit', version: '4.13.2' testImplementation 'org.jasypt:jasypt:1.9.3' testImplementation 'com.github.stefanbirkner:system-rules:1.19.0' //facilitates tests for methods that invoke System.exit diff --git a/gradle.properties b/gradle.properties index 1119300a..1be544c3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,4 +16,4 @@ bootstrapVersion=3.4.1 externalsortinginjavaVersion=0.6.0 jqueryVersion=3.6.4 # 2.1.2 First version built and published with Gradle -version=2.5.5 +version=2.5.6