getExtension

abstract fun getExtension(): String(source)

The extension used to publish the artifact file, never null. For an artifact without an extension, this value will be an empty String.