Over a million developers have joined DZone.

Building Mule Apps With Gradle

· Integration Zone

Is iPaaS solving the right problems? Not knowing the fundamental difference between iPaaS and dPaaS could cost you down the road. Brought to you in partnership with Liaison Technologies.

[Originally written by Juan Cavallotti.]

Gradle Logo

Gradle is gaining more and more popularity as a system. It combines the power of scripting with the simplicity of conventions. Declarative builds are very straightforward, where customizations do not end up in tons of messy configurations.

Currently, Mule has two ways of building projects:

  • Apps can be built through Mule Studio, which is simple by nature but not very friendly with continuous integration, source control management and related tools.
  • The recommended way to manage your build is with Maven and the  Mule Maven plugin. This plugin is integrated with Mule Studio and has a lot of power on its own.

Now the open source has presented a brand new way of building Mule apps with Gradle. The project aims to provide a very simple way to build Mule apps that is friendly with continuous integration and can work easily with Mule Studio. One of the interesting things about Gradle is that it can reduce over 90% the complexity of the build if we compare it with the same build based on Maven.

You can find detailed instructions on how to use this plugin in the project site: https://github.com/mulesoft/mule-gradle-plugin

The plugin in under development but it provides the basic features to build Mule apps:

  • Supports building Mule Community apps
  • Support for building Mule Enterprise apps including projects with DataMapper
  • Support for updating Mule Studio metadata
  • Support for APIKit Projects
  • Support for Unit testing

We will continue to add features so more enterprise products are supported, such as deployments to the Mule Management Console (MMC). Please feel free to request features on the project’s issue tracker. Be sure to try it out and let us know about your experience below!

Discover the unprecedented possibilities and challenges, created by today’s fast paced data climate and why your current integration solution is not enough, brought to you in partnership with Liaison Technologies.

Topics:

Published at DZone with permission of Ross Mason, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}