add installDist target
expected:
running gradle installDist
should copy files to $prefix/bin/ and $prefix/lib/
actual:
running gradle installDist has no effect
related
workaround: gumtree.nix
mkdir $out
cp -r dist/build/install/gumtree/{bin,lib} $out
rm $out/bin/gumtree.bat
Hi @milahu and thanks for the report.
To be clear the distribution is only available in the folders dist and dist-native.
Maybe because I use a shadow jar, the way to get it working is gradle installShadowDist ?
Cheers!
gradle installShadowDist
also has no effect
in which folder do you run the command ?
in the repo root
at /build/source in the nix-build sandbox
see also my nur-packages
nix-build.log
error: builder for '/nix/store/w11cibpa08bs6h34fab864p5z6p8jmwm-gumtree-4.0.0-beta4.drv' failed to produce output path for output 'out' at '/nix/store/w11cibpa08bs6h34fab864p5z6p8jmwm-gumtree-4.0.0-beta4.drv.chroot/root/nix/store/jmj5yz2gf61cgwkn9wz0n8bnlqf2nh55-gumtree-4.0.0-beta4'
OK therefore should be : gradle :dist:installShadowDist. Beware this task is normally launched as a finalizer for gradle build. The resulting installation being in dist/build/install
ok, i already run gradle build
and to install i do cp -r dist/build/install/gumtree/{bin,lib} $out
nevermind, this is low priority stuff