Hmm, I have replicated the issue, but only when the case of the dependency doesn't match the case of the mod declaration in settings.gradle (id isn't used by the build), e.g.
{
"id" : "miniion",
"displayName" : "Miniions",
"description" : "A prototype of summonable, commandable...