Hello, `gradle-debian-helper` is your friend, you can take a look at `uncommons-maths` [1] for example. It basically substitutes the hardcoded versions of compile dependencies and generates Maven POM files so that you can install them into `/usr/share/maven-repo` using `maven-repo-helper`. Unfortunately it does not support the experimental `java-library` plugin.
[1]: https://tracker.debian.org/pkg/uncommons-maths 2017-08-08 19:26 GMT+08:00 Ghislain Vaillant <ghisv...@gmail.com>: > Dear Java team, > > In my quest to package ImageJ2 for Debian, I came across some leaf > dependencies which need to be packaged and use gradle as their build system. > > I was wondering whether we had Debian helpers for that, or at least a > representative package I could inspire myself from? > > Best regards, > Ghis >