aepfli / gradle-gitlab-repositories

Handling Maven GitLab dependencies made easy. Define multiple tokens and selectively apply them to repositories, remove the need for repeating Credential handling blocks for different environments.
Eclipse Public License 2.0
13 stars 1 forks source link

Question: Is it possible configure repositories in `pluginManagement` block? #73

Closed piotrminkina closed 10 months ago

piotrminkina commented 1 year ago

Hello,

I have private Maven Repository of Gradle Plugins on Gitlab. I would like configure pluginManagement block to access to this repository. Is it possible via your plugin?

Regards Piotr Minkina

aepfli commented 10 months ago

First of all, sorry for the late reply - that is definitley not how it should be.

Yes it should be possible

piotrminkina commented 10 months ago

@aepfli Hi, no problem. I, for one, seem to have forgotten what problems I had at that time :D. Anyway, I use your plugin successfully in both settings.gradle and build.gradle. I created a file gradle/repositories.gradle, which I attach using apply from:, and in the file itself I recognize the context and I configure pluginManagement.repositories or repositories. It works as needed. Thanks for your work!