withSourcesJar

abstract fun withSourcesJar(publish: Boolean = true)

Configures the publication of sources.

Parameters

publish

Indicates whether the sources JAR is to be published. Defaults to true.