Make it possible to build QuPath with Fiji dependencies by petebankhead · Pull Request #1728 · qupath/qupath

added 5 commits

December 11, 2024 15:58
Provisional (limited) support for including Fiji dependencies when calling `gradlew run`
This made it impossible to build with a different Java version.
Now it should build using Java 17 or later (Gradle itself requests 16 or later, so we strengthen this to 17 so we can use the newer syntax)
Setting scripting-groovy to version 1.0.0 turned out to be the key step.
Switching to 3 wasn't an option, because it needed to be 3.0.4 and it seemed unhappy with Java 21.

@petebankhead

@petebankhead

@petebankhead

@petebankhead

Don't require `-Pfiji=true` for Fiji-friendly builds
Hides the window, but avoids disposing the instance; this makes it possible to reopen Fiji without losing all the plugins.
This means you can open ImageJ without having to send an image to it
It was causing trouble with accelerators, and didn't show in the right place anyway