com.android.builder.model
Interface MavenCoordinates


public interface MavenCoordinates

Coordinates that uniquely identifies a project in a Maven repository.


Method Summary
 java.lang.String getArtifactId()
          Returns the name that the project is known by.
 java.lang.String getClassifier()
          Returns the project's classifier.
 java.lang.String getGroupId()
          Returns the name of the project's group, similar to the Java packaging structure.
 java.lang.String getPackaging()
          Returns the project's artifact type.
 java.lang.String getVersion()
          Returns the version of the project.
 

Method Detail

getGroupId

@NonNull
java.lang.String getGroupId()
Returns the name of the project's group, similar to the Java packaging structure.


getArtifactId

@NonNull
java.lang.String getArtifactId()
Returns the name that the project is known by.


getVersion

@NonNull
java.lang.String getVersion()
Returns the version of the project.


getPackaging

@NonNull
java.lang.String getPackaging()
Returns the project's artifact type. It defaults to "jar" if not explicitly set.


getClassifier

@Nullable
java.lang.String getClassifier()
Returns the project's classifier. The classifier allows to distinguish artifacts that were built from the same POM but differ in their content.