getExtension

@Nullable
abstract fun getExtension(): String(source)

Returns the extension of the artifact to select. If it returns null, it will fallback to jar.