Skip to content
A Gradle OpsCode Chef cookbook that provides an up-to-date Gradle version and uses a reasonable license (MIT)
Ruby Shell
Find file
Latest commit 538e41e Nov 1, 2015 @michaelklishin Merge pull request #10 from joevartuli/master
Fixing compile vs converge bug
Failed to load latest commit information.
attributes
files/default/etc/profile.d
recipes
.gitignore Updated to comply with Chef lint tool foodcritic Oct 30, 2015
.kitchen.yml Moving the concatenation of the release URL into the converge phase t… Oct 31, 2015
Berksfile
README.md
metadata.rb

README.md

Gradle Chef Cookbook

This is an OpsCode Chef cookbook for Gradle, a modern build tool.

It uses official releases from gradle.org to install Gradle under /usr/local/gradle, provides an /etc/profile.d script that prepends Gradle's bin directory to the $PATH and allows you to tweak version using Chef node attributes.

Unlike some other Chef cookbooks, this cookbook is released under the MIT license. Feel free to redistribute, use in commercial projects and modify to fit your needs.

Recipes

Main recipe is gradle::tarball.

Attributes

  • [:gradle][:version] (default: 2.6): Gradle version to install
  • [:gradle][:home_dir] (default: /usr/local/gradle): directory to install Gradle to

Supported OSes

Debian and Ubuntu (any version that was released in the last few years and provides Groovy package should work fine).

Dependencies

Tested and used with OpenJDK 8, Oracle JDK 8, OpenJDK 7K.

Copyright & License

Michael S. Klishin, 2012-2015.

Released under the MIT license.

Something went wrong with that request. Please try again.