title: Gradle how to turn a flat directory of massive amount of jar files to the .m2/repository structure?
body: <p>I wonder how can I quickly take a directory in my computer that contains 1K jars, and let Gradle structure it to the Maven <code>.m2/repository</code> structure. I've read of the <a href="https://docs.gradle.org/current/userguide/userguide_single.html#publishing_maven" rel="nofollow noreferrer">Gradle publishing</a> feature, but it seems pretty impossible to use when the amount of jars is that big because they are not taking the information from the META-INF, but want the user to specify the group ID and other details.</p>