Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ml-development-tools/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ dependencies {

testImplementation 'com.squareup.okhttp3:okhttp:4.12.0'

// Needed for MarkLogicVersion class
// We need the MarkLogicVersion class, but that has no dependencies and so we exclude all dependencies from
// this, in particular to avoid vulnerabilities on Spring 5.x libraries.
testImplementation ("com.marklogic:marklogic-junit5:1.5.0") {
exclude module: "marklogic-client-api"
transitive = false
Copy link
Preview

Copilot AI Jul 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting transitive = false excludes ALL transitive dependencies, which is more aggressive than the previous approach that only excluded marklogic-client-api. This could potentially break functionality if other required dependencies from marklogic-junit5 are needed. Consider using exclude group: to specifically target Spring dependencies instead.

Suggested change
transitive = false
exclude group: 'org.springframework'

Copilot uses AI. Check for mistakes.

}
}

Expand Down