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

How to specify custom Gitlab URL? #47

Closed leodotcloud closed 1 year ago

leodotcloud commented 2 years ago

If I were using a private/custom intallation of Gitlab, how do I configure the plugin to change the URL from gitlab.com to gitlab.example.com?

aepfli commented 2 years ago

there is an undocumented property called baseurl which is currently set to gitlab.com

the groovy dsl approach would look like this:

gitLab {
    baseUrl = "gitlab.example.com" 
}
aepfli commented 1 year ago

as there was no further question, i will close this issue