Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit a5968c1

Browse files
committed
Bumped up dependency versions
1 parent e0413a3 commit a5968c1

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

build.gradle

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id "java-library"
33
id "maven-publish"
44
id "signing"
5-
id "com.github.jk1.dependency-license-report" version "1.3"
5+
id "com.github.jk1.dependency-license-report" version "1.17"
66
id "net.saliman.properties" version "1.5.1"
77
id "io.snyk.gradle.plugin.snykplugin" version "0.4"
88
}
@@ -16,27 +16,29 @@ targetCompatibility = "8"
1616
repositories {
1717
mavenLocal()
1818
mavenCentral()
19-
20-
// Still needed for marklogic-junit5
21-
jcenter()
2219
}
2320

2421
dependencies {
2522
api 'com.marklogic:ml-javaclient-util:4.3.0'
26-
api 'org.springframework:spring-web:5.3.7'
23+
api 'org.springframework:spring-web:5.3.9'
24+
// Match the version of what Java Client 5.5.0 expects
25+
api 'com.fasterxml.jackson.core:jackson-databind:2.11.1'
2726

2827
implementation 'jaxen:jaxen:1.2.0'
2928
implementation 'org.apache.httpcomponents:httpclient:4.5.13'
3029
implementation 'org.jdom:jdom2:2.0.6'
3130

3231
// Forcing httpclient to use this to address https://snyk.io/vuln/SNYK-JAVA-COMMONSCODEC-561518
33-
implementation 'commons-codec:commons-codec:1.13'
32+
implementation 'commons-codec:commons-codec:1.15'
3433

3534
// For EqualsBuilder; added in 3.8.1 to support detecting if a mimetype's properties have changed or not
3635
implementation "org.apache.commons:commons-lang3:3.12.0"
3736

3837
// For PreviewInterceptor; can be excluded if that feature is not used
39-
implementation "com.flipkart.zjsonpatch:zjsonpatch:0.4.11"
38+
implementation("com.flipkart.zjsonpatch:zjsonpatch:0.4.11") {
39+
// Prefer the api version declared above
40+
exclude module: "jackson-databind"
41+
}
4042

4143
// Required for Java 11
4244
implementation "javax.xml.bind:jaxb-api:2.3.1"
@@ -45,17 +47,17 @@ dependencies {
4547

4648
// Don't want to include this in the published jar, just the executable jar
4749
compileOnly "com.beust:jcommander:1.78"
48-
compileOnly "ch.qos.logback:logback-classic:1.2.3"
50+
compileOnly "ch.qos.logback:logback-classic:1.2.4"
4951

50-
testImplementation "org.junit.jupiter:junit-jupiter:5.7.1"
51-
testImplementation 'org.springframework:spring-test:5.3.7'
52-
testImplementation 'commons-io:commons-io:2.8.0'
52+
testImplementation "org.junit.jupiter:junit-jupiter:5.7.2"
53+
testImplementation 'org.springframework:spring-test:5.3.9'
54+
testImplementation 'commons-io:commons-io:2.11.0'
5355
testImplementation 'xmlunit:xmlunit:1.6'
5456

5557
// Forcing Spring to use logback for testing instead of commons-logging
56-
testImplementation "ch.qos.logback:logback-classic:1.2.3"
57-
testImplementation "org.slf4j:jcl-over-slf4j:1.7.30"
58-
testImplementation "org.slf4j:slf4j-api:1.7.30"
58+
testImplementation "ch.qos.logback:logback-classic:1.2.4"
59+
testImplementation "org.slf4j:jcl-over-slf4j:1.7.31"
60+
testImplementation "org.slf4j:slf4j-api:1.7.31"
5961
}
6062

6163
// This ensures that Gradle includes in the published jar any non-java files under src/main/java

0 commit comments

Comments
 (0)