Skip to content
kghmanuel edited this page Jan 10, 2018 · 3 revisions

A typical project will have at least the following resources:

project_root
│       build.gradle
│       gradle.properties
│       gradle-local.properties
└───src
    └───main
        ├───ml-config
        │   ├───databases
        │   │       content-database.json
        │   │
        │   └───security
        │       ├───roles
        │       │       my-app-role.json
        │       │
        │       └───users
        │               my-app-user.json
        │    
        ├───ml-modules
        │   ├───ext
        │   │       my-custom-code.xqy
        │   │
        │   └───options
        │           my-rest-api-search-options.xml
        │    
        └───ml-schemas
                    my-template.json

Other directories and files can exist within the project but the following list are treated in a special way by this gradle plugin.

The succeeding sections will discuss the sub folders in detail. The following list provides a quick reference of the tasks to easily reflect each folder into MarkLogic:

Folder Gradle Task
ml-config mlDeploy
ml-modules mlLoadModules
ml-schemas mlLoadSchemas

Clone this wiki locally