Skip to content

Commit 0131b59

Browse files
committed
Defer creating client until task is run
1 parent 4d91444 commit 0131b59

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)