Interface SonatypeRepositories

All Known Implementing Classes:
SonatypeRepositoriesImpl

public interface SonatypeRepositories
An extension to RepositoryHandler that allows configuring Sonatype OSSRH snapshot repositories.
Since:
2.1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gradle.api.artifacts.repositories.MavenArtifactRepository
    Add the Sonatype snapshot repository to this project.
  • Field Details

  • Method Details

    • snapshots

      org.gradle.api.artifacts.repositories.MavenArtifactRepository snapshots()
      Add the Sonatype snapshot repository to this project.

      The URL for this repository is https://central.sonatype.com/repository/maven-snapshots/.

      Returns:
      the created repository
      Since:
      3.2.0