api / org.gradle.api.artifacts / ConfigurablePublishArtifact / setExtension

setExtension

abstract fun setExtension(extension: String): Unit

Sets the extension of this artifact.

Parameters

extension - The extension. Should not be null.