Extensions for Groovy/Gradle types.
| Type Params | Return Type | Name and description |
|---|---|---|
|
static void |
gitlab(org.gradle.api.artifacts.dsl.RepositoryHandler repositories)Add the GitLab global repository, which provides a single view of all projects' repositories. |
|
static void |
gitlab(org.gradle.api.artifacts.dsl.RepositoryHandler repositories, String group)Add a GitLab group-specific repository. |
|
static void |
gitlab(org.gradle.api.artifacts.dsl.RepositoryHandler repositories, int projectId)Add a GitLab project-specific repository. |
|
static void |
ossrh(org.gradle.api.artifacts.dsl.RepositoryHandler repositories)Add the Sonatype OSSRH repository for snapshots and releases (note that if you only want releases, they are synchronized to Maven Central). |
|
static void |
ossrhStaging(org.gradle.api.artifacts.dsl.RepositoryHandler repositories)Add the Sonatype OSSRH staging repository, for artifacts currently being staged before release. |
|
static void |
springMilestones(org.gradle.api.artifacts.dsl.RepositoryHandler repositories)Add the Spring Milestones repository. |
|
static void |
springSnapshots(org.gradle.api.artifacts.dsl.RepositoryHandler repositories)Add the Spring Snapshots repository. |
Add the GitLab global repository, which provides a single view of all projects' repositories. Note that GitLab does not control coordinates between projects, and two projects may publish artifacts with the same coordinates (the most recent one overwrites the previous). It is much safer to use the group-specific repositories.
repositories - the repository handler.Add a GitLab group-specific repository.
repositories - the repository handler.group - the name of the GitLab group.Add a GitLab project-specific repository.
repositories - the repository handler.projectId - the ID of the project.Add the Sonatype OSSRH repository for snapshots and releases (note that if you only want releases, they are synchronized to Maven Central).
repositories - the repository handler.Add the Sonatype OSSRH staging repository, for artifacts currently being staged before release.
repositories - the repository handler.Add the Spring Milestones repository.
repositories - the repository handler.Add the Spring Snapshots repository.
repositories - the repository handler.