@@ -9,18 +9,22 @@ plugins {
9
9
}
10
10
11
11
dependencies {
12
- compileOnly gradleApi()
13
- implementation project(' :marklogic-client-api' )
14
- implementation ' org.jetbrains.kotlin:kotlin-stdlib:1.6.20'
15
- implementation ' com.fasterxml.jackson.module:jackson-module-kotlin:2.15.2'
16
- implementation ' com.networknt:json-schema-validator:1.0.76'
12
+ compileOnly gradleApi()
13
+ implementation project(' :marklogic-client-api' )
14
+ // Sticking with 1.6.20 for now as that's what OkHttp 4.11.0 depends on.
15
+ implementation ' org.jetbrains.kotlin:kotlin-stdlib:1.6.20'
16
+ implementation ' com.fasterxml.jackson.module:jackson-module-kotlin:2.15.2'
17
+ implementation ' com.networknt:json-schema-validator:1.0.86'
17
18
18
19
// Not yet migrating this project to JUnit 5. Will reconsider it once we have a reason to enhance
19
20
// this project.
20
21
testImplementation ' junit:junit:4.13.2'
21
22
testImplementation ' xmlunit:xmlunit:1.6'
22
23
testCompileOnly gradleTestKit()
23
- testImplementation ' com.squareup.okhttp3:okhttp:4.10.0'
24
+
25
+ // Forcing usage of 3.4.0 instead of 3.2.0 to address vulnerability - https://security.snyk.io/vuln/SNYK-JAVA-COMSQUAREUPOKIO-5820002
26
+ testImplementation ' com.squareup.okio:okio:3.4.0'
27
+ testImplementation ' com.squareup.okhttp3:okhttp:4.11.0'
24
28
}
25
29
26
30
// Added to avoid problem where processResources fails because - somehow - the plugin properties file is getting
@@ -38,6 +42,7 @@ pluginBundle {
38
42
vcsUrl = ' https://github.com/marklogic/java-client-api.git'
39
43
tags = [' marklogic' ]
40
44
}
45
+
41
46
gradlePlugin {
42
47
plugins {
43
48
mlDevelopmentToolsPlugin {
0 commit comments