Instead of updating the "gradle" command could we just install a new "gradle7" command that points to Gradle 7 instead? I don't think Gradle is very backwards compatible so that might be the easiest solution.
For Jars that BoofCV downloads, It doesn't download anything outside of Gradle. It uses a Gradle plugin i created called gversion to automatically generate version info and a set of tools to do other auto generation tasks: https://plugins.gradle.org/plugin/com.peterabeles.gversion https://github.com/lessthanoptimal/Auto64Fto32F Once the Gradle issue gets resolved we could then start adding these dependencies. Cheers, - Peter On Thu, Mar 24, 2022 at 5:06 AM Andrius Merkys <mer...@debian.org> wrote: > Dear Peter and Dima, > > Sorry for the delay. Somehow I did not receive any mails sent to > 1006...@bugs.debian.org (will subscribe), thus I only now noticed your > conversation after accidentally revisiting the bug page. > > Good to meet you too, Peter! > > First of all, regarding Cephis, my original reason to package BoofCV. It > depends on io, feature and visualize modules of BoofCV v0.17. AFAIK, > these should be static image analysis tools, thus stripping away more > complicated video and webcam support should make things much easier for > now. Of course, in the long run it would be nice to support video and > webcam parts of BoofCV in Debian as well. > > Regarding Gradle. Debian has 4.4.1 now and updating it is complicated. > It would be nice to ask its maintainers in Debian to understand what are > the current blockers. Gradle wrapper cannot be used as downloads in the > build time are not allowed in Debian. Even more generally, Debian builds > can only rely on software which is built from source on Debian build > machines. > > For now I see upgrading Gradle in Debian as the best solution to the > build issue. Simplifying/changing the build system is a viable solution > too, but I believe this would need much work and add maintenance burden > on Peter. Discussion in [1] gives me some hope Gradle will be updated > soon. I think it is worth pinging its participants. > > Peter, you mention BoofCV build system downloading some JARs. Maybe we > could build these JARs in Debian as separate packages and use them in > BoofCV build? If Gradle blocker goes away, these might be the next > blockers. > > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926714 > > Best wishes, > Andrius > -- "Now, now my good man, this is no time for making enemies." — Voltaire (1694-1778), on his deathbed in response to a priest asking that he renounce Satan.