Skip to content
rjrudin edited this page Jun 16, 2015 · 11 revisions

Deploy an application

The mlDeploy task combines several tasks together to perform a typical deployment process. Those tasks are:

  • mlClearModules - if the application exists, clear its modules database; otherwise do nothing
  • mlInstallPackages - installs the application packages
  • mlPostInstallPackages - an empty "hook" task for adding tasks via its dependsOn attribute
  • mlLoadModules - loads all of the modules
  • mlPostDeploy - an empty "hook" task for adding tasks via its dependsOn attribute

You don't need to use mlDeploy - you're free to write your own Gradle task to orchestrate your deployment process. mlDeploy exists as a useful starting point that you can extend via the mlPost* tasks that it calls.

Clone this wiki locally