Loading
gradle: add test for toolchain functionality
The test asserts for the output of the javaToolchains tasks making sure Gradle detected toolchains via environment variables created by the Nix package. Since we can't call override on finalAttrs.finalPackage, the test has to be implemented in wrapGradle instead of in the passthru of the gen function body.