GithubHelp home page GithubHelp logo

asdf-gradle's Introduction

asdf-gradle

Build Status

gradle plugin for the asdf version manager

Install

asdf plugin-add gradle https://github.com/rfrancis/asdf-gradle.git

Use

Check out the asdf readme for instructions on how to install and manage versions of other tools.

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:

export GRADLE_SIGNATURE_CHECK=no 

If you want to use a custom distribution url, for example in a corporate setting you can set this:

export GRADLE_DISTRIBUTION_URL=https://services.gradle.org/distributions

Observation:

  • GRADLE_SIGNATURE_CHECK - yes (for yes, check the signature) is the default

NEEDED: Someone to take over maintenance of this plugin.

asdf-gradle's People

Contributors

aniaan avatar bezarsnba avatar log2 avatar rfrancis avatar squaresurf avatar thedavemarshall avatar tobiasjc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

asdf-gradle's Issues

Plugin does not install gradle compatible with ubuntu ARM64 (no gradle available)

While compiling an ubuntu container in Mac M1, I've found the following problem:
There is no gradle version available for install using asdf list all gradle.

Container base image: Ubuntu 20:04

uname -a
Linux cef6accac07d 5.10.25-linuxkit #1 SMP PREEMPT Tue Mar 23 09:24:45 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

Java asdf plugin installed with java -version
openjdk version "11.0.8" 2020-07-14 LTS
OpenJDK Runtime Environment Zulu11.41+75-CA (build 11.0.8+10-LTS)
OpenJDK 64-Bit Server VM Zulu11.41+75-CA (build 11.0.8+10-LTS, mixed mode)

[BUG] - Error on listing latest gradle version

On run asdf install gradle latest the version installed is 4.10.3.
When I listing using asdf list all gradle:

...
7.4.1
7.4.2
7.5.1
2.14.1
2.14.1-rc-1
2.14.1-rc-2
4.10.1
4.10.2
4.10.3

Run the below script, I found the root of bug:

curl -s https://services.gradle.org/distributions/ | grep -e "distributions.*-bin.zip\"" | sed -e "s#^.*distributions/gradle-##" -e "s#-bin.zip.*##" | sort -t. -n | paste -s -d" " -

Requirements ?

What are the installation requirements with a fresh Ubuntu 20.04?

export GRADLE_HOME=/opt/gradle/gradle-7.1.1
/home/walter/.asdf/plugins/gradle/bin/install: 10: Syntax error: redirection unexpected

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.