I'll comment what was the issue FOR ME, just in case someone needs it: mavenLocal().
mavenLocal()
Yes, really. Even though the correct online repo is set, gradle chose to ignore it, and continues to do so when I re-add it. Luckily, I don't require it.