Maybe I'm missing something... To resolve the dependency, used just in sub-module, I had to add its repository to project's Gradle file. I thought that there was a merge of all repositories from project and sub-modules... I have to study better these configurations.