Matei David
07/09/2025, 9:44 AMVampire
07/09/2025, 10:01 AMVampire
07/09/2025, 10:09 AMMatei David
07/09/2025, 11:28 AMVampire
07/09/2025, 11:34 AMmavenLocal()
to those repositories (even though noone should ever use mavenLocal()
at all optimally), then the build suddenly breaks for that user as no repository provides the needed dependencies.
You could for example also set the repositories mode to PREFER_SETTINGS
so that repositories declared on a project are ignored and the settings ones are used. Then you do not need to decide whether to add the repositories from the convention plugin or not but can always add them.
Or you just settle on one way to do it so that no flexibility is necessary. 🤷♂️