Different behaivor between buildSrc and include build build-logic

The build-logic is an own build the result of which is consumed.
Repository declarations of other builds do not leak into the build that include them.
Each build has to define the repositories where the plugins and dependencies can be resolved from.
So if your plugin needs dependencies that are found on gradlePluginPortal(), you also have to define that on the consuming build as plugin repository.

1 Like