api / org.gradle.api.artifacts / ConfigurablePublishArtifact / setType

setType

abstract fun setType(type: String): Unit

Sets the type of this artifact.

Parameters

type - The type. Should not be null.