File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
examples/performance-sample Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -120,10 +120,12 @@ task loadJson(type: com.marklogic.gradle.task.MlcpTask) {
120120 mustRunAfter mlLoadModules
121121 mustRunAfter getInputData
122122
123+ doFirst {
124+ database = mlStagingDbName
125+ port = mlStagingPort. toInteger()
126+ }
123127 classpath = configurations. mlcp
124128 command = " IMPORT"
125- database = mlStagingDbName
126- port = mlStagingPort. toInteger()
127129 input_file_path = " ./input/raw.txt"
128130 delimiter = " \t "
129131 input_file_type = " delimited_text"
@@ -141,10 +143,12 @@ task loadXml(type: com.marklogic.gradle.task.MlcpTask) {
141143 mustRunAfter mlLoadModules
142144 mustRunAfter getInputData
143145
146+ doFirst {
147+ database = mlStagingDbName
148+ port = mlStagingPort. toInteger()
149+ }
144150 classpath = configurations. mlcp
145151 command = " IMPORT"
146- database = mlStagingDbName
147- port = mlStagingPort. toInteger()
148152 input_file_path = " ./input/raw.txt"
149153 delimiter = " \t "
150154 input_file_type = " delimited_text"
You can’t perform that action at this time.
0 commit comments