Making Gradle find a JAR in a flatDir repo when it is missing from a Maven repo

Sure, but that’s what you’re proposing for the jar, isn’t it? Why not just copy the pom as well? Copying an extra file when you already have to copy jar doesn’t really make any difference.