I am using Buildship 1.0.20, Gradle 3.1, and Eclipse 4.6.
I noticed that my runtime
dependencies are not being used in Eclipse when doing “run as Java application”. Instead it appears to only use the testCompile
/ testRuntime
dependencies.
Here is what I get when I print eclipse.classpath.plusConfigurations
:
[configuration ':testRuntime', configuration ':compileClasspath', configuration ':testCompileClasspath']
I get the same result from a new project created with gradle init --type java-library
, so this does not appear to be specific to my project.
In the Buildship FAQ it says that plusConfigurations
by default includes compileOnly
, runtime
, testCompileOnly
and testRuntime
. This appears to be inconsistent with the actual values.
Which one is correct?