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
8 changes: 4 additions & 4 deletions ml-development-tools/src/test/example-project/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath "com.marklogic:ml-development-tools:6.3.0"
classpath "com.marklogic:ml-development-tools:7.1.0"
}
}

Expand All @@ -23,13 +23,13 @@ repositories {
}

dependencies {
implementation 'com.marklogic:marklogic-client-api:6.3.0'
implementation 'com.marklogic:marklogic-client-api:7.1.0'
}

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
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.

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.

}

task testProjectPath(type: com.marklogic.client.tools.gradle.EndpointProxiesGenTask) {
tasks.register("testProjectPath", com.marklogic.client.tools.gradle.EndpointProxiesGenTask) {
serviceDeclarationFile = "src/main/ml-modules/root/inventory/service.json"
}