From 80d5f773718fc18ce050752299f9e38b3c6a82de Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 06 Sep 2015 14:22:47 +0000
Subject: [PATCH] Install Groovy from PPA

---
 install.sh |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/install.sh b/install.sh
index 940be07..8d3179a 100755
--- a/install.sh
+++ b/install.sh
@@ -1,7 +1,11 @@
 #!/bin/bash
 
+sudo add-apt-repository -y ppa:cwchien/gradle
 sudo apt-get update
-sudo apt-get -y install gradle openssl stunnel
+sudo apt-get -y install gradle-ppa openjdk-7-jdk openssl stunnel
+
+sudo update-java-alternatives -s java-1.7.0-openjdk-amd64
+sudo rm /usr/lib/jvm/default-java
 
 openssl genrsa -out /tmp/correct.key 1024
 openssl req -new -key /tmp/correct.key -out /tmp/correct.crt -subj '/CN=127.0.0.1/' -x509

--
Gitblit v1.9.1