I’m migrating a buildSrc to composite builds because I faced https://youtrack.jetbrains.com/issue/IDEA-276738
My setup is 2 projects which are multiprojects.
For each one I added a platform and a build-logic and added a nested level containing the applicative Java code
My root project includes all sub composite build (three includes for both)
My first mistake was to includeBuild build-logic outside the pluginManagement block
In Idea the model project works but when launching the bootRun task, I have
server-application:app:main: Could not find commons-lang:commons-lang:.
project :server-application:app > project :libs:gfc-common:gfc-common-beans
it is as if the commons-lang declared inside the lib-platform composite build was trying to be substitued
I don’t really understand why
I don’t really get how to debug this kind of error :
- is a subtitution rule missing ?
- is composite build limitation ?
- where to put a breakpoint during debug session …
Thank you !