Alex Beggs
08/27/2026, 2:20 PMinclude references. Our benchmarks show that we incur additional configuration load times in our build scans. Additional time to a cold configuration which would impact the ide-sync times by 25%. Is this an expected slow down or are we doing something wrong?Vampire
08/27/2026, 2:55 PMinclude one project into multiple builds, then this is definitely wrong, no matter what performance or anything else.
A project should always only be part of exactly one build and if you need it in multiple, you should use composite build.Alex Beggs
08/27/2026, 3:27 PMinclude: moduleA or is it mainly just the correct layout to use a composite build
Shared Modules directly included
app1
include: moduleA
include: moduleB
app2
include: moduleA
include: moduleC
Shared Modules Composite Build
app1
includeBuild: shared-modules (moduleA)
include: moduleB
app2
includeBuild: shared-modules (moduleA)
include: moduleCVampire
08/27/2026, 3:29 PMAlex Beggs
08/27/2026, 3:37 PMsettings.gradle.ktsAlex Beggs
08/27/2026, 3:38 PMsettings.gradle.kts is the biggest threatVampire
08/27/2026, 3:40 PMbuildSrc and so on could also influence the class loader ancestry of that subproject and thus cause problems.