Hi,
I have a dependency in my project that I only need during the run / compiletime of my integration tests. These integration tests are included in my project.
My dependencies section looks something like this:
dependencies {
compile ( ...),
integTestCompile (
project(':someProject'),...
)}
Now, when I run these tests everything works as expected. However, when I generate my eclipse source and project files it seems that the dependency to “someProject” is ommitted which leaves me with compile errors in eclipse.
So, to solve that I also have to add “someProject” as a dependency in “compile” or “providedCompile” to make it be recognized by eclipse.
Which seems wrong to me.
Any ideas how to solve that?
Thanks,
Sven