commit
2f77de37d3
|
@ -1,11 +1,11 @@
|
||||||
{ stdenv, fetchurl, unzip, jdk, makeWrapper }:
|
{ stdenv, fetchurl, unzip, jdk, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gradle-1.8";
|
name = "gradle-1.11";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://services.gradle.org/distributions/${name}-bin.zip";
|
url = "http://services.gradle.org/distributions/${name}-bin.zip";
|
||||||
sha256 = "00spxad9b5vddshp02cic0ds8icgb1clknl7494f467x2pxbnhm3";
|
sha256 = "14a0qdzjiar97l9a0i3ds2y48p1lrqkj7skkkvhz0r29hbgkbqh7";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
makeWrapper ${jdk}/bin/java $out/bin/gradle \
|
makeWrapper ${jdk}/bin/java $out/bin/gradle \
|
||||||
--set JAVA_HOME ${jdk} \
|
--set JAVA_HOME ${jdk} \
|
||||||
--add-flags "-classpath $out/lib/gradle-launcher-1.8.jar org.gradle.launcher.GradleMain"
|
--add-flags "-classpath $out/lib/gradle-launcher-1.11.jar org.gradle.launcher.GradleMain"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
phases = "unpackPhase installPhase";
|
phases = "unpackPhase installPhase";
|
||||||
|
|
Loading…
Reference in New Issue