No commit activity in last 3 years
No release in over 3 years
This extension should be used to run gradle commands on gradle based projects. The artifacts generated will be compreessed and copied to the server
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.0
~> 1.8.7
 Project Readme

gradle-to-capistrano gem¶ ↑

This project is used to integrate gradle projects with capistrano deploy scripts.

First install the gem:

gem install gradle-to-capistrano

Configure your gradle file with:

project(':my-fucking-owesome-project') {
  apply plugin:'application'

  distTar {
    if (project.hasProperty("tarName")) {
      archiveName = "$tarName"
    }
  }
}

And just set :deploy_via to gradle_build:

set :deploy_via, :gradle_build
set :gradle_cmd, ":my-fucking-owesome-project:distTar -PtarName={release_name}"
set :gradle_home, "/opt/gradle-1.8/bin"
set :gradle_working_dir, "my-fucking-owesome-project"

Cool! Now you can deploy you gradle application.

Comments and suggestions are appreciated :)

Copyright © 2013 Marcos Sousa. See LICENSE.txt for further details.