How to scan dependencies in all GitLab projects?

Hello, everybody. We have a GitLab Community Edition installation here with quite a few projects. My assignment is to scan all repositories in our GitLab installation for their dependencies as expressed in in “pom” or “build.gradle” files.

I am only interested in the numbers like “org.springframework:spring-web:5.0.2.RELEASE = 5 projects”.

Our GitLab admin has no idea, how to do that, so I thought to ask here if anybody knows how to accomplish this feat?