Skip to content

mlNewProject fails in 4.5.0 when no authentication information exists #650

Closed
@sparnell

Description

@sparnell

Empty directory. Build file contains only
plugins { id "com.marklogic.ml-gradle" version "4.5.0" }
Result:

Configure project :
Evaluating root project 'PerformanceTesting' using build file '/Users/sparnell/projects/PerformanceTesting/build.gradle'.

Initializing ml-gradle
Initializing ManageClient with manage config of: http://localhosthost:8002

FAILURE: Build failed with an exception.

  • Where:
    Build file '/Users/sparnell/projects/PerformanceTesting/build.gradle' line: 1

  • What went wrong:
    An exception occurred applying plugin request [id: 'com.marklogic.ml-gradle', version: '4.5.0']

Failed to apply plugin 'com.marklogic.ml-gradle'.
Unable to connect to the MarkLogic app server at http://localhosthost:8002; cause: username must be of type String

I don't have a local instance of MarkLogic installed and don't plan to.
Version 4.4.0 does not have this issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions