setup Publishing Simple
fun Project.setupPublishingSimple(config: PublishingSimpleConfig = PublishingSimpleConfig(this), configuration: MavenPublication.() -> Unit = {}): MavenPublication
Sets up a simple publishing configuration
Applies the
maven-publishpluginIf
withJavadocSourcesJarsis true: call addJavadocSourcesJarsCreates a MavenPublication with the specified config
Return
The MavenPublication that was created
Parameters
config
The configuration for setting up publishing
configuration
The configuration for the publication