@JvmOverloads fun RepositoryHandler.gitlabRepository(repoName: String, logger: Logger? = null): Unit
Adds a Gitlab.com Maven package repository named repoName to the RepositoryHandler. If you publish in a GitLab CI job, the repository will be automatically configured. Otherwise you can use environment variables to configure the repository (see GitlabRepositorySettings.Builder for the available options).