public interface Library
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBuildId()
Returns an optional build identifier.
|
java.lang.String |
getName()
Returns a user friendly name.
|
java.lang.String |
getProject()
Returns an optional project identifier if the library is output
by a module.
|
MavenCoordinates |
getRequestedCoordinates()
Returns this library's Maven coordinates, as requested in the build file.
|
MavenCoordinates |
getResolvedCoordinates()
Returns this library's Maven coordinates after all the project's dependencies have been
resolved.
|
boolean |
isProvided()
Returns whether the dependency is provided.
|
boolean |
isSkipped()
Returns whether the dependency is skipped.
|
@Nullable java.lang.String getBuildId()
This is only valid if getProject() is not null. a null
value in this property indicates that this is the root build.
@Nullable java.lang.String getProject()
@Nullable java.lang.String getName()
@Nullable MavenCoordinates getRequestedCoordinates()
@NonNull MavenCoordinates getResolvedCoordinates()
getRequestedCoordinates().boolean isSkipped()
boolean isProvided()
false since the provided dependencies
are not present