Thank you so much for your kind assistance on this matter, and for the link to your sample repo.
I cloned the sample repo and attempted to modify the modality from "SM" -> "OP".
However, when attempting to build the jar file (just to test it out), I first encountered the following errors:
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
-> As a workaround, I went to install gradle-5.6.2 as specified in the gradle-wrapper.properties file.
When running gradle-5.6.2 to build the jar file, I then encountered the following error:
Could not initialize class org.codehaus.groovy.reflection.ReflectionCache
> Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 [in thread "Daemon worker"]
When using the newer versions of gradle (gradle 7.6), I encountered the following error:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
The XNAT version that we're using is XNAT 1.8, but I can't seem to find the plugin docs for XNAT 1.8.
I'm not familiar with XNAT plugins - would it be possible for you to very kindly assist on this matter? We would only need to load Opthalmic Photographs for the dicom modality = "OP".
Thank you so much for your help on this!
Kind regards,
PY