Open apacker83 opened 3 years ago
So... if anyone runs into this issue note that the documentation explicitly says use Gradle 2.1 (even though the link takes you to the top-level Gradle installation website, which is where I got led astray).
Now that I've got Gradle 2.1 working on my machine, I got past this error and am on to other ones... e.g. Couldn't find Ant-JavaFX-library, please make sure you've installed some JDK which includes JavaFX
will update in another thread if I solve it!
I downloaded the github repository and ran build.sh. At first, I got the following error message:
Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http://maven.imagej.net/content/repositories/releases)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols.
I think I fixed this by following the instructions here: https://github.com/gradle/gradle/issues/11905#issuecomment-863714222Upon rerunning build.sh, I got the following new error message:
> Plugin with id 'maven' not found.
Googling this led me here: https://discuss.gradle.org/t/plugin-with-id-maven-not-found/39621 and ultimately to here: https://docs.gradle.org/7.0/userguide/upgrading_version_6.html?_ga=2.5147891.1588493751.1626965925-1126331740.1626965925#removal_of_the_legacy_maven_plugin
Implying that perhaps the build needs to reference maven-publish instead of maven. But it already does, or at least build.gradle mentions maven-publish on line 23. So I commented out line 22, which mentions maven, and got another error message:
It seems this also might be related to Gradle 7? This is as far as I got... Sorry if this is not helpful, I'm really dying to run ClearVolume!