I\'m trying to build and maintain an old application for work but I can\'t get past the build phase. In my app/build.gradle file I have
depend
There is an option to fix it on gradle dependency resolution level
configurations.all {
resolutionStrategy.dependencySubstitution {
substitute module('org.apache.commons:commons-io:1.3.2') with module('commons-io:commons-io:1.3.2')
}
}
Reason of the conflict is that org.apache.commons:commons-io:1.3.2 was pushed by mistake https://stackoverflow.com/a/37421794/624706
You can see where dependency is coming from with
gradle :main:dependencyInsight --configuration compile --dependency commons-io