@@ -43,9 +43,13 @@ dependencies {
43
43
testImplementation ' org.xmlunit:xmlunit-legacy:2.10.0'
44
44
testImplementation project(' :examples' )
45
45
46
+ testImplementation ' org.apache.commons:commons-lang3:3.18.0'
47
+
46
48
// Allows talking to the Manage API.
47
49
testImplementation (" com.marklogic:ml-app-deployer:5.0.0" ) {
48
50
exclude module : " marklogic-client-api"
51
+ // Use the commons-lang3 declared above to keep Black Duck happy.
52
+ exclude module : " commons-lang3"
49
53
}
50
54
51
55
// Starting with mockito 5.x, Java 11 is required, so sticking with 4.x as we have to support Java 8.
@@ -59,14 +63,17 @@ dependencies {
59
63
// Using this to avoid a schema validation issue with the regular xercesImpl
60
64
testImplementation ' org.opengis.cite.xerces:xercesImpl-xsd11:2.12-beta-r1667115'
61
65
62
- testImplementation ' org.apache.commons:commons-lang3:3.17.0'
63
- testImplementation ' com.opencsv:opencsv:5.10'
66
+ testImplementation (' com.opencsv:opencsv:5.11.2' ) {
67
+ // Excluding this due to a security vulnerability, and the test for the example that uses this library
68
+ // passes without this on the classpath.
69
+ exclude module : " commons-beanutils"
70
+ }
64
71
testImplementation ' org.skyscreamer:jsonassert:1.5.3'
65
72
66
- // Automatic loading of test framework implementation dependencies is deprecated .
67
- // https://docs.gradle.org/current/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
68
- testRuntimeOnly( " org.junit.platform:junit-platform-launcher:1.13.4 " )
69
-
73
+ // Commenting out for now as it prevents tests from being runnable in Intellij .
74
+ // Automatic loading of test framework implementation dependencies is deprecated.
75
+ // https://docs.gradle.org/current/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
76
+ // testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.13.4")
70
77
}
71
78
72
79
// Ensure that mlHost and mlPassword can override the defaults of localhost/admin if they've been modified
0 commit comments