Question

I am new for both tools , And not getting completely .

Why Gradle is targeted for deployment if I am deploying with Capistrano ?

See also Gradle Overview.

Was it helpful?

Solution

Gradle is built from the Groovy programming language, and is considered a build language, and less of a deployment tool. You can perform compilation of JVM languages, package it, and upload it to a repository easily, but it has little strength in deployment of web applications, unless you are directly deploying a WAR or EAR file.

Capistrano is built from the Ruby language, but is considered more powerful for deployment, and is less of a build language (Rake is the dominant Ruby build language). Capistrano's strength lies in being able to connect to a remote host, and execute commands on it, or copy out code to live on a webserver.

It is my opinion that Gradle would be a better language for all things JVM related, and Capistrano would be useful for PHP, Rails, or other types of web applications.

OTHER TIPS

Use gradle-ssh-plugin with gradle as Capistrano replacement.

Here is an usage example.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top