api / org.gradle.api.artifacts / DependencyArtifact / getType

getType

abstract fun getType(): String

Returns the type of this artifact. Often the type is the same as the extension, but sometimes this is not the case. For example for an ivy XML module descriptor, the type is ivy and the extension is xml.

See Also
#getExtension()