-
Notifications
You must be signed in to change notification settings - Fork 12
Description
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:
gradle/gradle#11905 (comment)
Upon 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:
> Failed to apply plugin 'javafx-gradle-plugin'.
> Could not create task ':jfxJar'.
> Cannot create task ':jfxJar' of type 'JfxJarTask' as directly extending AbstractTask is not supported.
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!