This message was deleted.
# community-support
s
This message was deleted.
v
Not really, other than refactoring out in yet another included build that can set both locations and that you then use in both. An included build is a standalone build that is just built automatically before your including build, but other than that it is practically the same as publishing the included build somewhere and then using the published artifact. So in
build-logic/build.gradle
you need the repository to retrieve your build dependencies, in
rootProject/settings.gradle
you define the repositories where to get plugins and their dependencies. It is always in the responsibility of the consuming build to define the repositories where to get dependencies and plugins from. Otherwise you could for example hardly follow company guidelines that mandate to only use internal repository servers. And while plugins for example could add repositories technically - unless the consumer build prevents it - it is bad practice to do so in generally available plugins, at least if it is unconditional.
p
Thank you, now I understand it.
👌 1