I have a xqy file with path a/b/sample.xqy in ml-gradle project which is inserting a custom dictionary in to the DB.
I want to run that xquery file as part of a gradle task. I am able to run the code by providing the code in string format but wanted to run through a file.
Please help:
Gradle task:
task Task1(type: com.marklogic.gradle.task.ServerEvalTask) {
xquery = <how to run the sample.xqy here>
}