-
Notifications
You must be signed in to change notification settings - Fork 80
Configuring ml gradle
ml-gradle is configured via two ways:
- Properties in gradle.properties
- Scripting in build.gradle
Of course, all of the files under src/main/ml-config can be considered configuration as well, but those are configuration files sent to MarkLogic. This page discusses how to modify how ml-gradle works, not what payloads it sends to MarkLogic - configuring the latter is simply a matter of adding and modifying configuration files under src/main/ml-config.
Properties
The example projects in this repository show the different properties you can set in gradle.properties. For a complete list though, take a look at the factory class in ml-app-deployer that reads properties from a property source object (the PropertySource interface exists to hide where the properties come from - in ml-gradle, they come from the Gradle Project class, whereas in other environments, using system properties or a java.util.Properties may be desired).
Scripting
TODO