I know little about gradle and have only just started exploring it, so this is just a question out of curiosity.

It’s supposedly a language agnostic dependency manager and builder, yet it seems to have only found its niche in Java. C/C++ projects could definitely do with dependency resolution…

    • corsicanguppy
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      What you do is you put “compatible with Debian 2024 and Ubuntu 202502 and rocky8 over its entire lifetime” because you tested it and you don’t rinkydink with bizarre custom shit because it makes a really frail platform that causes everyone headaches.

      This “you have to use this library from this particular week’s release” is very CPAN; and not in a good way.

    • paperplane@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      7 days ago

      I know a bunch of larger C++ apps that use vcpkg for cross-platform (Windows/macOS/Linux) builds of their dependencies and it seems to work pretty well

    • e8d79@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      7 days ago

      I worked on a couple commercial C++ applications that used vcpkg. It’s not as convenient as nuget, cargo or npm but it think it is a massive improvement over manually hunting for dependencies.