Class MvnRepository_1_0

  • All Implemented Interfaces:
    com.gradle.scan.eventmodel.EventData

    @MavenExtensionVersion(since="1.4")
    public final class MvnRepository_1_0
    extends Object
    implements com.gradle.scan.eventmodel.EventData
    An EventData containing details about a Maven repository used by the build.

    An event stream can contain multiple MvnRepository_1_0.

    • Field Detail

      • id

        public final long id
        The generated, unique ID of this repository.
      • modelId

        public final String modelId
        Declared ID of the repository.
      • url

        public final String url
        URL of the repository.
      • mirroredRepositories

        @Nullable("when there are no mirrors defined")
        public final @Nullable("when there are no mirrors defined") List<Long> mirroredRepositories
        Which repositories this one mirrors. References other repositories via id.
    • Constructor Detail

      • MvnRepository_1_0

        public MvnRepository_1_0​(long id,
                                 String modelId,
                                 String url,
                                 long releasePolicy,
                                 long snapshotPolicy,
                                 @Nullable
                                 @Nullable List<Long> mirroredRepositories)