File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
ml-data-hub-plugin/src/main/groovy/com/marklogic/gradle/task Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ cd /path/to/data-hub-project/ml-data-hub-plugin
5454
5555Then in your build.gradle file you will need to use the local version:
5656``` groovy
57+
58+ // this goes at the top above the plugins section
59+
5760buildscript {
5861 repositories {
5962 mavenLocal()
@@ -63,6 +66,15 @@ buildscript {
6366 classpath "com.marklogic:ml-data-hub:(the version number you chose)"
6467 }
6568}
69+
70+ plugins {
71+ ...
72+
73+ // comment out this line. It pulls the version from the cloud
74+ // id 'com.marklogic.ml-data-hub' version '1.1.1'
75+ }
76+
77+ // this tells gradle to apply the plugin you included above in the buildscript section
6678apply plugin: "com.marklogic.ml-data-hub"
6779```
6880
Original file line number Diff line number Diff line change @@ -71,10 +71,6 @@ class RunFlowTask extends HubTask {
7171 .withFlow(flow)
7272 .withBatchSize(batchSize)
7373 .withThreadCount(threadCount)
74- .onStatusChanged(new FlowStatusListener () {
75- @Override
76- void onStatusChange (long jobId , int percentComplete , String message ) {}
77- })
7874 flowRunner. run()
7975 flowRunner. awaitCompletion()
8076 }
You can’t perform that action at this time.
0 commit comments