openjfx23: pin to Gradle 8

This commit is contained in:
Tomodachi94 2024-11-26 02:52:08 +00:00
parent 9ebedd3091
commit cf1bfe275a
2 changed files with 7 additions and 4 deletions

View File

@ -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";

View File

@ -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)