https://kotlinlang.org logo
#gradle
Title
# gradle
a

Arjan van Wieringen

02/03/2023, 2:24 PM
Is there a reason I need to set
dependencyResolutionManagement
also in a
includeBuild
project even though I have defined them at the top level already in
settings.gradle.kts
?
v

Vampire

02/03/2023, 2:29 PM
Included builds are separate builds, hence
includeBuild
. Almost nothing is "pushed down" to the included build afair. But you could write a settings plugin that contains the common logic and apply that in both projects. That would then be an additional included build that you include within
pluginManagement { ... }
.
a

Arjan van Wieringen

02/03/2023, 2:46 PM
Thanks, that makes sense
7 Views