Skip to content

Commit 5841446

Browse files
authored
Merge pull request #560 from dmcassel/558-defer-creation
#558 Defer creating client until task is run
2 parents b35e7f6 + 0131b59 commit 5841446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/com/marklogic/gradle/task/client/CallResourceTask.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class CallResourceTask extends MarkLogicTask {
1010

1111
def params = [:]
1212
def method = "GET"
13-
def client = newClient()
13+
def client = null
1414
def mimeType = "application/json"
1515
String resourceName
1616
String body

0 commit comments

Comments
 (0)