asdf-gradle/README.md

34 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2017-07-21 12:53:48 +08:00
# asdf-gradle
2017-07-21 13:07:56 +08:00
[![Build Status](https://travis-ci.org/rfrancis/asdf-gradle.svg?branch=master)](https://travis-ci.org/rfrancis/asdf-gradle)
2019-08-15 11:51:14 +08:00
[gradle](https://gradle.org/) plugin for the [asdf](https://github.com/asdf-vm/asdf) version manager
## Install
2023-02-23 00:41:46 +08:00
```sh
2019-08-15 11:51:14 +08:00
asdf plugin-add gradle https://github.com/rfrancis/asdf-gradle.git
```
## Use
2019-08-15 11:54:15 +08:00
Check out the [asdf](https://github.com/asdf-vm/asdf) readme for instructions on how to install and manage versions of other tools.
2019-08-15 11:51:14 +08:00
2020-12-16 04:50:17 +08:00
When installing Gradle using `asdf install` if you not wish to have it check the package signature for whatever reason, you can set `no` using `export GRADLE_SIGNATURE_CHECK=no` example:
2023-02-23 00:41:46 +08:00
```sh
export GRADLE_SIGNATURE_CHECK=no
2023-02-23 00:41:46 +08:00
```
If you want to use a custom distribution url, for example in a corporate setting you can set this:
2023-02-23 00:41:46 +08:00
```sh
export GRADLE_DISTRIBUTION_URL=https://services.gradle.org/distributions
```
2023-02-23 00:41:46 +08:00
Observation:
2020-12-16 04:50:17 +08:00
* `GRADLE_SIGNATURE_CHECK` - `yes` (for yes, check the signature) is the default
2019-01-21 08:46:23 +08:00
NEEDED: Someone to take over maintenance of this plugin.