I’ve been waiting with a lot of excitement for the final release of Buildship 2.0 as I’m hoping this will solve a lot of hurdles in my development process. However after trying it out, I’m left confused as to how it is supposed to work. I hope you can clear this out.
Say I have 2 multi-project builds: my-libraries and my-apps and my-apps depends on some of the projects of my-libraries:
/my-libraries /library1 /library2 /my-apps /app1 /app2
I haven’t configured any of the builds as composite builds for now. I imported both my-libraries and my-apps into the same Eclipse workspace. I was expecting the projects within my-apps to be setup in Eclipse to depend on the my-libraries projects but right now this isn’t the case. Do I now need to configure the projects as composite builds as described here (https://docs.gradle.org/current/userguide/composite_builds.html)? In earlier snaphot releases of Buildship 2.0 it used to be done automatically under the hood.
I also tried to find some verbose logs to debug this issue but couldn’t find any. Could you indicate how to enable them?
Last note: In Gradle’s documentation there’s a note that says that composite builds don’t work with the plugin maven-publish. I do have this plugin applied via some of my own plugins. I didn’t quite understood why the maven-publish plugin would break composite builds. That said I’m happy to not apply the plugin when included in a composite build. So my 2nd question is whether there’s an easy way to detect when a project is part of a composite build?
I appreciate any help you can provide. Thank you