Skip to content

Conversation

@rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Jul 23, 2025

Black Duck was complaining about a license issue in version 6.3.0 of ml-development-tools

Black Duck was complaining about a license issue in version 6.3.0 of ml-development-tools
Copilot AI review requested due to automatic review settings July 23, 2025 18:11
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the ml-development-tools example project to resolve a Black Duck license issue by upgrading from version 6.3.0 to 7.1.0. The changes modernize the Gradle build configuration and update dependency versions.

  • Updates ml-development-tools and marklogic-client-api dependencies from 6.3.0 to 7.1.0
  • Modernizes Gradle task syntax from deprecated task to current tasks.register() pattern


task testFullPath(type: com.marklogic.client.tools.gradle.EndpointProxiesGenTask) {
tasks.register("testFullPath", com.marklogic.client.tools.gradle.EndpointProxiesGenTask) {
serviceDeclarationFile = "/Users/rrudin/workspace/java-client-api/example-project/src/main/ml-modules/root/inventory/service.json"
Copy link

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.

The serviceDeclarationFile path contains a hardcoded absolute path to a user's home directory (/Users/rrudin/). This should use a relative path or a configurable property to ensure the example works across different development environments.

Suggested change
serviceDeclarationFile = "/Users/rrudin/workspace/java-client-api/example-project/src/main/ml-modules/root/inventory/service.json"
serviceDeclarationFile = "src/main/ml-modules/root/inventory/service.json"

Copilot uses AI. Check for mistakes.
@rjrudin rjrudin merged commit fde7049 into develop Jul 23, 2025
1 of 2 checks passed
@rjrudin rjrudin deleted the feature/example-project branch July 23, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants