Role lang/groovy-sdk¶
Download and install apache groovy.
-
Role
lang
groovy-sdk
¶ Become: No
Defaults: - lang_groovy_sdk_server – The download server to use (default: “http://dl.bintray.com”).
- lang_groovy_default_version – The default version to install. (default: “2.4.5”).
- lang_groovy_install_prefix – The installation_prefix (default: “{{install_prefix}}/groovy-sdk”).
Parameters: - version – The groovy version number to install (default: “{{lang_groovy_default_version}}”).
- prefix – Installation prefix (default: {{lang_groov_install_prefix}}).
- download_url – Url for the artefact (default: “{{lang_groovy_sdk_download_server}}/groovy/maven/{{artifact}}”).
- artifact – Name of the artifact to download (default: “apache-groovy-sdk-{{version}}.zip”).
- cache_directory – Where to cache downloaded artifacts for future reuse on play host.
The prefix directory needs to exist and writable by the remote user.
The cache directory needs to exist and writable by the local user.
Note
The resulting
GROOVY_HOME
is{prefix}/groovy-sdk-{version}