Welcome to the ml-gradle video tutorial series. Learn about the ml-gradle plugin for the Gradle build system and its various features. Learn how ml-gradle can help automate MarkLogic configurations, deploy content and application servers, and configure security.

/
Introduction to the ml-gradle Gradle plugin
24:30
Scaffolding New Projects
17:27
Customizing Deployments
10:11
Securing Content, Part 1 of 3
16:25
Securing Content, Part 2 of 3
10:16
Securing Content, Part 3 of 3
7:35
Protecting Passwords
6:29
Add Hosts to MarkLogic Clusters
6:28
Using the Gradle Wrapper
5:47
Introduction to the ml-gradle Gradle plugin
Description

We introduce you to the ml-gradle plugin for the Gradle build automation system. In this video, you will review requirements for a 3-tier application then deploy the MarkLogic part of these requirements using ml-gradle.

Learning Objectives

Learn about the MarkLogic ml-gradle plugin for Gradle’s build automation system, it’s features, and a high-level view of beginning to automate MarkLogic configurations.

Prerequisites

MarkLogic Fundamentals
MarkLogic Administration

Example on GitHub

Click to download the ml-gradle hands-on examples from GitHub

Scaffolding New Projects
Description

Learn about using the ml-gradle plug-in to create directory structures and MarkLogic configurations. Quickly deploy and tear down projects and help drive your MarkLogic automation deployment efforts.

Learning Objectives

Learn how to use ml-gradle tasks to scaffold directory structures and initial configurations for a new project. Learn how to deploy these configurations and create MarkLogic resources such as application servers and databases. Also, how to remove configurations and project resources from a MarkLogic server after you have deployed them initially.

Prerequisites

MarkLogic Fundamentals
MarkLogic Administration

Example on GitHub

Click to download the ml-gradle hands-on examples from GitHub

Customizing Deployments
Description

Learn about deploying application code and other server-side scripts. Also, use ml-gradle tasks to load content to MarkLogic databases and apply permissions to secure your data.

Learning Objectives

Learn how to customize ml-gradle deployments to deploy MarkLogic application server configurations. See how to use a custom task in ml-gradle to load content using MarkLogic Content Pump.

Prerequisites

MarkLogic Fundamentals
MarkLogic Administration

Example on GitHub

Click to download the ml-gradle hands-on examples from GitHub

Securing Content, Part 1 of 3
Description

Learn about using ml-gradle to deploy security roles and permissions for your content. This is the first in a series of episodes about deploying security configurations to MarkLogic using ml-gradle.

Learning Objectives

Learn how to add custom security roles, users and permissions to your ml-gradle deployment configurations.

Prerequisites

MarkLogic Fundamentals
MarkLogic Administration

Example on GitHub

Click to download the ml-gradle hands-on examples from GitHub

Securing Content, Part 2 of 3
Description

Deploy permissions on your content to protect documents by roles based on data within the documents using ml-gradle and a custom Gradle task.

Learning Objectives

Learn how to use a custom Gradle task to load content with your customized roles and permissions.

Prerequisites

MarkLogic Fundamentals
MarkLogic Administration

Example on GitHub

Click to download the ml-gradle hands-on examples from GitHub

Securing Content, Part 3 of 3
Description

Deploy element-level security with ml-gradle to add a finer granularity to your content security. This episode continues the topic of deploying security with ml-gradle that we started in episode 4.

Learning Objectives

Learn how to use element-level security to secure specific content within documents in a MarkLogic database.

Prerequisites

MarkLogic Fundamentals
MarkLogic Administration

Example on GitHub

Click to download the ml-gradle hands-on examples from GitHub

Protecting Passwords
Description

Learn about using the Gradle Credentials plugin to keep sensitive credentials out of checked in MarkLogic ml-gradle code and resource sources.

Learning Objectives

Credentials should not be included in projects checked into source control. This includes ml-gradle projects and configurations. Learn about using the Gradle Credentials plugin as one method of providing credentials to your ml-gradle deployments.

Prerequisites

MarkLogic Fundamentals
MarkLogic Administration

Example on GitHub

Click to download the ml-gradle hands-on examples from GitHub

Add Hosts to MarkLogic Clusters
Description

Learn about adding new MarkLogic servers to new or existing MarkLogic clusters. Take advantage of MarkLogic High Availability features to keep your applications available even should MarkLogic nodes become unavailable.

Learning Objectives

Learn how to use ml-gradle tasks to add hosts to a MarkLogic cluster. Also, learn how to use resource configurations to deploy MarkLogic high availability features.

Prerequisites

MarkLogic Fundamentals
MarkLogic Administration

Example on GitHub

Click to download the ml-gradle hands-on examples from GitHub

Using the Gradle Wrapper
Description

Deploy your MarkLogic Data Hub projects to various environments such as locally, for development and unit testing, to staging for integration testing and production. Use Gradle’s wrapper scripts to easily maintain deployment-specific ml-gradle values and properties.

Learning Objectives

Learn about Gradle’s wrapper scripts and the benefits of using the wrapper with ml-gradle tasks.

Prerequisites

MarkLogic Fundamentals
MarkLogic Administration

 

Learn More

Technical Resources for ml-gradle

Explore all the technical resources related to ml-gradle, including blogs, documentation, video tutorials, and more.

Github Wiki Documentation

Learn how to get started using ml-gradle with common tasks and example projects. Integration and debugging guides are also available in the documentation.

Administering MarkLogic Server Course

Three-day, instructor-led course that provides administrators experience to install, deploy, configure, monitor, and maintain MarkLogic.

This website uses cookies.

By continuing to use this website you are giving consent to cookies being used in accordance with the MarkLogic Privacy Statement.