gradle: add 8

This commit is contained in:
Lorenz Leutgeb 2023-02-14 13:43:19 +01:00
parent a08d6979dd
commit b32ee446ee
8 changed files with 28 additions and 8 deletions

View file

@ -2,11 +2,13 @@
, stdenv
, fetchgit
, openjdk17_headless
, gradle
, gradle_7
, perl
, makeWrapper
}:
let
gradle = gradle_7;
in
stdenv.mkDerivation rec {
pname = "apksigner";
version = "33.0.1";

View file

@ -126,6 +126,13 @@ rec {
# and respect the compatibility matrix at
# https://docs.gradle.org/current/userguide/compatibility.html
gradle_8 = gen {
version = "8.0.1";
nativeVersion = "0.22-milestone-24";
sha256 = "02g9i1mrpdydj8d6395cv6a4ny9fw3z7sjzr7n6l6a9zx65masqv";
defaultJava = jdk17;
};
gradle_7 = gen {
version = "7.6";
nativeVersion = "0.22-milestone-24";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, runtimeShell, writeText, fetchFromGitHub, gradle, openjdk17, git, perl, cmake }:
{ lib, stdenv, runtimeShell, writeText, fetchFromGitHub, gradle_7, openjdk17, git, perl, cmake }:
let
pname = "fastddsgen";
version = "2.3.0";
@ -11,6 +11,8 @@ let
hash = "sha256-lxMv1hXjHFslJts63/FJPjj0mAKTluY/pNTvf15Oo9o=";
};
gradle = gradle_7;
# fake build to pre-download deps into fixed-output derivation
deps = stdenv.mkDerivation {
pname = "${pname}-deps";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, jdk, gradle, makeDesktopItem, copyDesktopItems, perl, writeText, runtimeShell, makeWrapper }:
{ lib, stdenv, fetchFromGitHub, jdk, gradle_7, makeDesktopItem, copyDesktopItems, perl, writeText, runtimeShell, makeWrapper }:
let
pname = "scenic-view";
version = "11.0.2";
@ -10,6 +10,8 @@ let
sha256 = "1idfh9hxqs4fchr6gvhblhvjqk4mpl4rnpi84vn1l3yb700z7dwy";
};
gradle = gradle_7;
deps = stdenv.mkDerivation {
name = "${pname}-deps";
inherit src;

View file

@ -4,7 +4,7 @@
, fetchpatch
, jre
, git
, gradle
, gradle_7
, perl
, makeWrapper
}:
@ -20,6 +20,8 @@ let
hash = "sha256-K3kaujAhWsRQuTMW3SZOnE7Rmu8+tDXaxpLrb45OI4A=";
};
gradle = gradle_7;
patches = [
# https://github.com/ma1uta/ma1sd/pull/122
(fetchpatch {

View file

@ -6,7 +6,7 @@
, meson
, ninja
, pkg-config
, gradle
, gradle_7
, curl
, cryptopp
, fontconfig
@ -29,6 +29,8 @@ let
sha256 = "sha256-Kyr9OTiY6roJ/wVJS/1aWfrrzDNQbuRTJQqo0akbMUU=";
};
gradle = gradle_7;
# Shared libraries needed by the Java application
libraries = lib.makeLibraryPath [ ghostscript ];

View file

@ -3,7 +3,7 @@
, fetchurl
, fetchFromGitHub
, lib
, gradle
, gradle_7
, perl
, makeWrapper
, openjdk17
@ -28,6 +28,8 @@ let
sha256 = "sha256-YhjKRlFlF89H05NsTS69SB108rNiiWijvZZY9fR+Ebc=";
};
gradle = gradle_7;
desktopItem = makeDesktopItem {
name = "ghidra";
exec = "ghidra";

View file

@ -18037,7 +18037,8 @@ with pkgs;
gradleGen = gradle-packages.gen;
gradle_6 = callPackage gradle-packages.gradle_6 { };
gradle_7 = callPackage gradle-packages.gradle_7 { };
gradle = gradle_7;
gradle_8 = callPackage gradle-packages.gradle_8 { };
gradle = gradle_8;
grcov = callPackage ../development/tools/misc/grcov { };