-1

I just add compile 'org.apache.commons:commons-imaging:1.0-alpha2-SNAPSHOT' to file build.gradle, when I run Gradle Refresh Dependencies, I got an error as below, what can I do?

Illegal entry in Gradle Dependencies: C:/eclipse/unresolved dependency - org.apache.commons commons-imaging 1.0-alpha2-SNAPSHOT
mikezang
  • 2,291
  • 7
  • 32
  • 56

1 Answers1

0

Not sure why you want to use version 1.0-alpha2-SNAPSHOT of this lib which does not seem to be available on public maven repos (even not in apache snapshots repo.)

Try to use a released version instead (1.0-alpha1)

dependencies{
     compile group: 'org.apache.commons', name: 'commons-imaging', version: '1.0-alpha1'

}
M.Ricciuti
  • 11,070
  • 2
  • 34
  • 54