Я включил эту зависимость в build.gradle с репозиторием mavencentral.
compile group: 'org.apache.commons', name: 'commons-io', version: '2.4'
Когда я выполняю зависимости Gradle, gradle не может найти эту зависимость.Вот выходные данные.
compile - Зависимости для исходного набора 'main' (устарело, вместо этого используйте 'внедрение').
+--- com.amazonaws:aws-java-sdk-s3 -> 1.11.228
| +--- com.amazonaws:aws-java-sdk-kms:1.11.228
| | +--- com.amazonaws:aws-java-sdk-core:1.11.228
| | | +--- commons-logging:commons-logging:1.1.3 -> 1.2
| | | +--- org.apache.httpcomponents:httpclient:4.5.2
| | | | +--- org.apache.httpcomponents:httpcore:4.4.4
| | | | +--- commons-logging:commons-logging:1.2
| | | | \--- commons-codec:commons-codec:1.9
| | | +--- software.amazon.ion:ion-java:1.0.2
| | | +--- com.fasterxml.jackson.core:jackson-databind:2.6.7.1
| | | | +--- com.fasterxml.jackson.core:jackson-annotations:2.6.0
| | | | \--- com.fasterxml.jackson.core:jackson-core:2.6.7
| | | +--- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.6.7
| | | | \--- com.fasterxml.jackson.core:jackson-core:2.6.7
| | | \--- joda-time:joda-time:2.8.1
| | \--- com.amazonaws:jmespath-java:1.11.228
| | \--- com.fasterxml.jackson.core:jackson-databind:2.6.7.1 (*)
| +--- com.amazonaws:aws-java-sdk-core:1.11.228 (*)
| \--- com.amazonaws:jmespath-java:1.11.228 (*)
+--- org.apache.commons:commons-collections4:4.0
+--- org.apache.commons:commons-lang3:3.0
***+--- org.apache.commons:commons-io:2.4 FAILED***
+--- commons-lang:commons-lang:2.6
\--- org.slf4j:slf4j-simple:1.6.1
\--- org.slf4j:slf4j-api:1.6.1