Skip to content

Instantly share code, notes, and snippets.

@nissshh
Last active November 8, 2016 14:15
Show Gist options
  • Save nissshh/76d92e04ce966e0b4e9055114c16999a to your computer and use it in GitHub Desktop.
Save nissshh/76d92e04ce966e0b4e9055114c16999a to your computer and use it in GitHub Desktop.
i wanted to recollct what in the Toolibng support for Gradle as compared oto Maven tooling support in Mule Studio . Mulesoft doesnt provide an efective
support for Gradle but few things could be noted
gradel build file - build.gradle
1. Register the plugin in the build
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.org.mulesoft.build:mule-gradle-plugin:2.0.0-RC2"
}
}
apply plugin: "com.mulesoft.studio"
mule.version = '3.8.0'
2. Build refresing / linking mule studio with updated libraries
gradle eclipse build studio muleZip
above command refresghes studio , build the project and then futher creates a mule Zip.
3. Adding build ship plugin is beneficial. Sometime use mavenLocal() will help if all dependenxies are used and ther eis no internet available,.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment