Skip to content

Commit be39994

Browse files
committed
updating contributing
removing unused code
1 parent 2362bd5 commit be39994

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ cd /path/to/data-hub-project/ml-data-hub-plugin
5454

5555
Then 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+
5760
buildscript {
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
6678
apply plugin: "com.marklogic.ml-data-hub"
6779
```
6880

ml-data-hub-plugin/src/main/groovy/com/marklogic/gradle/task/RunFlowTask.groovy

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)