gradle: 3.0 -> 3.1 (#18898)
This commit is contained in:
parent
306bfa889a
commit
084fa30411
|
@ -21,10 +21,10 @@ rec {
|
||||||
let arch = if stdenv.is64bit then "amd64" else "i386"; in ''
|
let arch = if stdenv.is64bit then "amd64" else "i386"; in ''
|
||||||
mkdir patching
|
mkdir patching
|
||||||
pushd patching
|
pushd patching
|
||||||
jar xf $out/lib/gradle/lib/native-platform-linux-${arch}-0.10.jar
|
jar xf $out/lib/gradle/lib/native-platform-linux-${arch}-0.11.jar
|
||||||
patchelf --set-rpath "${stdenv.cc.cc.lib}/lib:${stdenv.cc.cc.lib}/lib64" net/rubygrapefruit/platform/linux-${arch}/libnative-platform.so
|
patchelf --set-rpath "${stdenv.cc.cc.lib}/lib:${stdenv.cc.cc.lib}/lib64" net/rubygrapefruit/platform/linux-${arch}/libnative-platform.so
|
||||||
jar cf native-platform-linux-${arch}-0.10.jar .
|
jar cf native-platform-linux-${arch}-0.11.jar .
|
||||||
mv native-platform-linux-${arch}-0.10.jar $out/lib/gradle/lib/
|
mv native-platform-linux-${arch}-0.11.jar $out/lib/gradle/lib/
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# The scanner doesn't pick up the runtime dependency in the jar.
|
# The scanner doesn't pick up the runtime dependency in the jar.
|
||||||
|
@ -52,11 +52,11 @@ rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
gradle_latest = gradleGen rec {
|
gradle_latest = gradleGen rec {
|
||||||
name = "gradle-3.0";
|
name = "gradle-3.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://services.gradle.org/distributions/${name}-bin.zip";
|
url = "http://services.gradle.org/distributions/${name}-bin.zip";
|
||||||
sha256 = "103z2nzlpc6x3mav0mqardd84rj1si718f6wpnpl8i273aa0dj9r";
|
sha256 = "1z0h60w0wvdg2rlxg5izcbhnrzdmr3mdgs7p09cm4lr28d139pn7";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue