treewide: pin Gradle 8 where deprecation warning present in build log (#359177)
This commit is contained in:
commit
76bb4843c7
@ -8,10 +8,13 @@
|
||||
, xdg-utils
|
||||
, gtk3
|
||||
, jdk
|
||||
, gradle
|
||||
, gradle_8
|
||||
, python3
|
||||
}:
|
||||
|
||||
let
|
||||
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
|
||||
gradle = gradle_8;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
version = "5.13";
|
||||
pname = "jabref";
|
||||
|
@ -2,10 +2,13 @@
|
||||
, stdenv
|
||||
, fetchgit
|
||||
, jdk_headless
|
||||
, gradle
|
||||
, gradle_8
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
let
|
||||
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
|
||||
gradle = gradle_8;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "apksigner";
|
||||
version = "34.0.5-unstable-2024-03-06";
|
||||
|
@ -3,7 +3,7 @@
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, jdk11
|
||||
, gradle
|
||||
, gradle_8
|
||||
, metasploit
|
||||
, makeWrapper
|
||||
, makeDesktopItem
|
||||
@ -47,6 +47,9 @@ let
|
||||
./gradle-8.patch
|
||||
];
|
||||
|
||||
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
|
||||
gradle = gradle_8;
|
||||
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
inherit pname version src patches;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
gradle,
|
||||
gradle_8,
|
||||
jre,
|
||||
lib,
|
||||
makeWrapper,
|
||||
@ -18,7 +18,10 @@
|
||||
udev,
|
||||
xorg,
|
||||
}:
|
||||
|
||||
let
|
||||
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
|
||||
gradle = gradle_8;
|
||||
in
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "atlauncher";
|
||||
version = "3.4.38.0";
|
||||
|
@ -2,7 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
gradle,
|
||||
gradle_8,
|
||||
jdk,
|
||||
quark-engine,
|
||||
makeBinaryWrapper,
|
||||
@ -11,7 +11,10 @@
|
||||
copyDesktopItems,
|
||||
desktopToDarwinBundle,
|
||||
}:
|
||||
|
||||
let
|
||||
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
|
||||
gradle = gradle_8;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "jadx";
|
||||
version = "1.5.0";
|
||||
|
@ -4,13 +4,15 @@
|
||||
fetchgit,
|
||||
python3,
|
||||
jdk17_headless,
|
||||
gradle,
|
||||
gradle_8,
|
||||
makeWrapper,
|
||||
postgresql,
|
||||
postgresqlTestHook,
|
||||
}:
|
||||
let
|
||||
customPython = python3.withPackages (p: [ p.setuptools ]);
|
||||
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
|
||||
gradle = gradle_8;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libeufin";
|
||||
|
@ -6,7 +6,7 @@
|
||||
makeDesktopItem,
|
||||
copyDesktopItems,
|
||||
fetchFromGitHub,
|
||||
gradle,
|
||||
gradle_8,
|
||||
jdk17,
|
||||
zenity,
|
||||
|
||||
@ -43,6 +43,8 @@ let
|
||||
buildVersion = makeBuildVersion version;
|
||||
|
||||
jdk = jdk17;
|
||||
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
|
||||
gradle = gradle_8;
|
||||
|
||||
Mindustry = fetchFromGitHub {
|
||||
owner = "Anuken";
|
||||
|
@ -2,12 +2,15 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
gradle,
|
||||
gradle_8,
|
||||
makeWrapper,
|
||||
jdk,
|
||||
gsettings-desktop-schemas,
|
||||
}:
|
||||
|
||||
let
|
||||
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
|
||||
gradle = gradle_8;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mucommander";
|
||||
version = "1.5.2-1";
|
||||
|
@ -4,7 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
makeWrapper,
|
||||
openjdk,
|
||||
gradle,
|
||||
gradle_8,
|
||||
wget,
|
||||
which,
|
||||
gnused,
|
||||
@ -14,6 +14,10 @@
|
||||
testers,
|
||||
nixosTests,
|
||||
}:
|
||||
let
|
||||
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
|
||||
gradle = gradle_8;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nextflow";
|
||||
# 24.08.0-edge is compatible with Java 21. The current (as of 2024-09-19)
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
fetchpatch2,
|
||||
|
||||
gradle,
|
||||
gradle_8,
|
||||
gradle_7,
|
||||
perl,
|
||||
pkg-config,
|
||||
@ -57,7 +57,7 @@ let
|
||||
atLeast21 = lib.versionAtLeast featureVersion "21";
|
||||
atLeast23 = lib.versionAtLeast featureVersion "23";
|
||||
|
||||
gradle_openjfx = if atLeast23 then gradle else gradle_7;
|
||||
gradle_openjfx = if atLeast23 then gradle_8 else gradle_7;
|
||||
in
|
||||
|
||||
assert lib.assertMsg (lib.pathExists sourceFile)
|
||||
|
@ -1,5 +1,8 @@
|
||||
{ lib, stdenv, fetchFromGitLab, gradle, jre, runtimeShell }:
|
||||
|
||||
{ lib, stdenv, fetchFromGitLab, gradle_8, jre, runtimeShell }:
|
||||
let
|
||||
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
|
||||
gradle = gradle_8;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pdftk";
|
||||
version = "3.3.3";
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, stdenv, fetchFromGitLab, jdk17_headless, coreutils, findutils, gnused,
|
||||
gradle, git, makeWrapper, jre_minimal
|
||||
gradle_8, git, makeWrapper, jre_minimal
|
||||
}:
|
||||
|
||||
let
|
||||
@ -32,6 +32,9 @@ let
|
||||
];
|
||||
};
|
||||
|
||||
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
|
||||
gradle = gradle_8;
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
inherit pname src version;
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
, lib
|
||||
, stdenv
|
||||
, makeWrapper
|
||||
, gradle
|
||||
, gradle_8
|
||||
, perl
|
||||
, jre
|
||||
, libGL
|
||||
@ -55,6 +55,9 @@ let
|
||||
|
||||
depsPath' = if depsPath != null then depsPath else ./. + "/${pname}/deps.json";
|
||||
|
||||
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
|
||||
gradle = gradle_8;
|
||||
|
||||
in stdenv.mkDerivation (cleanAttrs // {
|
||||
inherit pname version src patches postPatch;
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
callPackage,
|
||||
gradle,
|
||||
gradle_8,
|
||||
makeBinaryWrapper,
|
||||
openjdk21,
|
||||
unzip,
|
||||
@ -73,6 +73,9 @@ let
|
||||
HERE
|
||||
'';
|
||||
|
||||
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
|
||||
gradle = gradle_8;
|
||||
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
inherit
|
||||
|
Loading…
Reference in New Issue
Block a user