These were the old instructions for setting up v0.1.2 in eclipse:
https://github.com/qupath/qupath/tree/v0.1.2/src/main/resources/eclipse
Not all steps may be required with Gradle, but since you're using Windows you will need to set the working directory to be one that contains the OpenSlide binaries if you want OpenSlide support. You'll also need a Java 8 JDK (it requires different dependencies for Java 9/10 support).
I've attached a couple of screenshots showing my Run/Debug Configuration with using my fork (i.e. Gradle). Three things to note under the 'Arguments' tab:
- It's handy for debugging to put the full path to an image or project under 'Program arguments' (although I haven't done that here)
- The VM arguments here are to aid with using VisualVM when looking for memory/performance trouble; you might also want to set -Xmx here as well to adjust the available memory
- For my working directory, I built the software once with Gradle (outside eclipse) and then used the directory to which the binaries were copied as my working directory - making it possible to use a relative path (here on a Mac, but I guess it's similar for Windows)
Also, if you happen to have a later version of Java installed you might have some problem. Creating a 'gradle.properties' file in the QuPath workspace containing
org.gradle.java.home=/your/path/to/jdk-8
should help.