Artifact

public final class Artifact

A Maven-style remote artifact specification.

An artifact must have a group, a name, and a version. Also, it may have a classifier and an extension.

Types

Link copied to clipboard
public final class Builder
A builder for the Artifact instances.

Properties

Link copied to clipboard
public final static String SPINE_TOOLS_GROUP
The artifact group used for Spine tools.

Functions

Link copied to clipboard
public boolean equals(Object o)
Link copied to clipboard
public String fileSafeId()
Prints this spec in the same way as notation but with _ (underscore symbol) instead of any other separator characters.
Link copied to clipboard
public static Artifact from(Dependency dependency)
Creates a new Artifact from the given org.gradle.api.artifacts.
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public static Artifact.Builder newBuilder()
Creates a new instance of Builder for Artifact instances.
Link copied to clipboard
public String notation()
Prints this spec into a single string.
Link copied to clipboard
public String toString()