This fixes problems of Gradle not being possible to find transitive maven artifacts if actually we don't need them