Skip to content

Instantly share code, notes, and snippets.

@mlocher
Forked from JMBattista/install_gradle
Last active August 29, 2015 14:07
Show Gist options
  • Save mlocher/2288eba856760f11db51 to your computer and use it in GitHub Desktop.
Save mlocher/2288eba856760f11db51 to your computer and use it in GitHub Desktop.
Install Gradle
#!/bin/bash
# Allows using Gradle 2.1 with http://codeship.io
GRADLE=gradle-2.1-bin
GRADLE_URL="https://services.gradle.org/distributions/$GRADLE.zip"
wget -N $GRADLE_URL
mkdir -p ~/gradle
unzip $GRADLE.zip -d ~
GRADLE_HOME=/home/rof/gradle-2.1
PATH=$GRADLE_HOME/bin:$PATH
@njradford
Copy link

Big help. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment