Class Repository_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.gradle.Repository_1_0
-
- All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData
@GradleVersion(since="4.10") @PluginVersion(since="1.16") public class Repository_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
A dependency repository used during the build.An event of this type will be emitted each time a logically unique repository is used during the build. Usages of the repository will refer to the repository by its ID. For example,
Component_2_1.repositoryId
andConfigurationResolutionStarted_1_2.repositoryIds
.
-
-
Constructor Summary
Constructors Constructor Description Repository_1_0(long id, String type, String name, Map<String,?> properties)
-
-
-
Field Detail
-
id
public final long id
An opaque ID for this repository.
-
type
public final String type
The type of this repository. One of MAVEN, IVY, or FLAT_DIR.
-
name
public final String name
The name of the repository in the build.Names may be user specified, or generated by Gradle.
-
properties
public final Map<String,?> properties
The descriptive properties of the repository.May be empty.
Repositories of the same
type
for a given Gradle version will be described with the same set of properties.The property values will be primitive-ish types (strings, booleans, numbers) or lists thereof. One exception is that properties that represent files will be modelled as a
FileRef_1_0
.
-
-