Skip to content

Building CoRB

Mads Hansen edited this page Jan 2, 2020 · 1 revision

You can build CoRB in the same way as any Gradle project:

  1. Clone the corb2 repository on your machine:

    git clone https://github.com/marklogic/corb2/
    
  2. (optional) If you have a local MarkLogic instance, you can setup a test database and XDBC server for the integration tests by executing the ml-gradle mlDeploy task:

    gradlew mlDeploy
    
  3. Execute the build task

    gradlew build
    

    If you don't have a local MarkLogic instance and/or want to skip the integration tests:

    gradlew build -x integrationTest