I have encountered a problem with the Gradle Eclipse plugin that it does not include transitive dependencies in the classpath, causing the error in Eclipse “The type cannot be resolved. It is indirectly referenced from required .class files.” Is this expected behavior or do I have something set up improperly?
Right now I have worked around the issue by putting the line compile project(":project").configurations.compile.getAllDependencies() in the dependencies so it will get all the transitive dependencies that way.