I hava an issue which is more an interrogation on performances than a bug. Let me explain :
I created an ad_hoc project for a composite build and then I import it into Eclipse to use it with Buildship. The structure is :
- includeBuild ‘app’
- includeBuild ‘frameworks’ (multiproject build ~70 projects)
- includeBuild ‘libs1’ (multiproject build ~5 projects)
- includeBuild ‘libs2’ (multiproject build ~10 projects)
- includeBuild ‘libs3’ (multiproject build ~20 projects)
- includeBuild ‘libs4’ (multiproject build ~15 projects)
- includeBuild ‘libs5’ (multiproject build ~5 projects)
- includeBuild ‘libs6’ (multiproject build ~3 projects)
“app” depends on sub-projects of “frameworks” and “libs"
Sub-projects of “frameworks” depends on sub-projects of “libs” and even sub-projects of “libs” depends on sub-projects of 'libs”
So it is a very big plate of spaghettis
Eventually everything works as expected, Buildship does a very good job on dependency substitution. All my projects get linked to each other.
Except that when I hit “Refresh Gradle Project”, it takes for ever, especially dependy resolution which seems to be done from scratch everytime (and on every project ?). When I just launch some gradle commands on ad_hoc project with command line, it is quite faster (10 seconds compared to 3 minutes at least)
Did I miss something ? Also what could explain the differences between Buildship and CommandLine ?
Also I use Gradle 4.3.1
Thanks a lot