In eclipse, my gradle project is fine. However, when I try to execute the build from the command line, I get a compilation error saying that a class is missing. The missing class comes from a transitive dependency to a library that my project depends on.
./gradlew -q :dependencyInsight --configuration compileClasspath --dependency transitive.jar
No dependencies matching given input were found in configuration ':compileClasspath'
./gradlew -q :dependencyInsight --configuration default --dependency transitive.jar
finds the transitive.jar
Is there a way, and if so how, to configure eclipse to behave like the command line, i.e. to use the compileClasspath as its default configuration. That way I could see and resolve all the issues in eclipse.