diff --git a/shell.nix b/shell.nix index ae27378..b04b53a 100644 --- a/shell.nix +++ b/shell.nix @@ -31,7 +31,11 @@ let }; jdk = unstable.jdk23; - gradle = unstable.gradle; + gradle = unstable.gradle.override { + java = jdk; + # Required for `gradle javaToolchains` to list JDK23 + javaToolchains = [ jdk ]; + }; in (