@@ -9,18 +9,22 @@ plugins {
99}
1010
1111dependencies {
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'
1718
1819 // Not yet migrating this project to JUnit 5. Will reconsider it once we have a reason to enhance
1920 // this project.
2021 testImplementation ' junit:junit:4.13.2'
2122 testImplementation ' xmlunit:xmlunit:1.6'
2223 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'
2428}
2529
2630// Added to avoid problem where processResources fails because - somehow - the plugin properties file is getting
@@ -38,6 +42,7 @@ pluginBundle {
3842 vcsUrl = ' https://github.com/marklogic/java-client-api.git'
3943 tags = [' marklogic' ]
4044}
45+
4146gradlePlugin {
4247 plugins {
4348 mlDevelopmentToolsPlugin {
0 commit comments